Door opening sensor integration via MQTT

Hello,

I just installed a door opening sensor via an MQTT integration through node-red (pending the implementation of Zwave-JS). Thanks for the video @pierre-gilles :wink:

To declare the sensor, I configured it as a yes/no motion sensor (and not the « straight Â» motion sensor); I hoped, by integrating it into the dashboard, to have a binary yes/no information (example: Is the door open? No).

However, the dashboard updates the sensor regardless of its state with temporal information about the last update of its state.

How can I get binary information on the dashboard?

A motion sensor is a specific sensor, and therefore in the UI we display the date of the last movement.

In your case, you need to declare your device as « Opening Sensor / Opening (Yes/No) Â»