Device Properties and Values

Is there any documentation that lists the possible properties and associated values for a given device for use in Lua?

For example, I have a ZSE42 Leak Sensor. Converting a scene into Lua shows me some of the conversions:

  • UI property “State” is the same as Lua property=”value”
  • UI property “Notification: Water Alarm (5)” is the same as Lua property=5

Similarly for the the values:

  • UI property “State” has:
    • “Turned on” –> Lua value=True
    • “Turned off” –> Lua value=False
  • UI property “Notification: Water Alarm (5)” has:
    • “Leak canceled “ –> Lua value=0
    • “Leak detected” –> Lua value=1

Is the mapping documented anywhere along with details about what each property / value means?

1 Like