In a driver, can I set the "Status attribute for Device/Rooms" at install or update time?

Just curious, couldn't find it in the doc.

1 Like

I am also looking for a way to set the device type's (or device instance's) Status attribute for Devices/Rooms programmatically.

Example Scenario
I am writing a virtual Parent/Child Driver combo.

  • The parent manages several children.
  • There are likely to be several instances of the parent (so, even more children).
  • The Child Driver Type will likely have a single eligible attribute.

Identifying the Device/Rooms status attribute in code would be hugely more efficient than per-device UI clicking - particularly during development when there are a lot of build and tear down cycles.

A great companion feature would be Get/Set room in a driver.