#See All Entity States of a Device

1 messages · Page 1 of 1 (latest)

grave hollow
#

How do you tell all the sensor states of a device. Example I am using a blueprint that you have to type the state in of the entity but I don't know all of the specific states. This case its a badring water sensor used via z2m. I tried creating an automation and selecting the entity and the attribute drop down is blank. I can see in z2m it only shows current state. I can see device specific states but not from an entity perspective which is what the blueprint is geared towards. It will allow me to send critical alerts to particular devices.

bold marsh
#

There's no single answer to this, it's really up to the integration.

#

There is a special device class enum which can be used if an integration wants to publish a text sensor that has a list of known states, and that can hint the UI for the available options.

But absent that an integration can set the state to anything (for a sensor anyway), there's no way to know upfront.