Greetings!
I'm porting over a local intranet dashboard and am using the current SmartThings location/room API which allows me to group and correlate device location at runtime for UI presentation... kind of what the Room View (http://{HUB}/room/list) does.
I cannot find this functionality in Hubitat - and while I could hardcode all my devices/rooms in a config file that is read at startup I would prefer NOT to... so my question/feature request is HOW do I access this device location metadata?
Here's the current SmartThings API (with only a single element, pertinent fields and mocked data shown):
GET /v1/locations
{ "locationId": "location-test", "name": "My SmartThings Hub" }
GET /v1/locations/location-test/rooms
{ "roomId": "room-test", "name": "My Kitchen", "locationId": "location-test" }
GET /v1/devices
{ "deviceId":"device-test", "name":"My Lights", "roomId": "room-test", "locationId":"location-test" }
Thanks for any feedback - I absolute LOVE this platform!