Driver / App Access to Device Room

Is there a way to access the room a device has been allocated, either within a driver or an app? Like I believe is available through Maker API.

Believe it was added to the device properties... Let me see if I can find it.

Edit: Found it

Try using device.roomName inside your driver.

3 Likes

Thanks. I knew I'd seen it somewhere....

Download the Hubitat app