Device Health and Failure Monitoring
We provide device health status using virtual binary sensor entities. These sensors function like standard binary sensors but report values based on specific health states of a device.
Accessing Device Health State
Device health state is available through the state topic for virtual sensors, similar to other entities. Virtual sensors use predefined device classes—either "problem" or "connectivity"—to indicate the meaning of their "ON" and "OFF" states.
Virtual Sensors for All Devices
The following virtual sensors apply to all devices:
Virtual Sensor | Device Class | Description |
---|---|---|
connectivity | connectivity | Indicates whether the device is responding as expected. ON means the device is responding. |
maintenance_fault | problem | Indicates whether there is a maintenance issue with the device. ON means there is a problem. |
Virtual Sensors for Emergency Devices
For emergency devices, additional virtual sensors are available alongside the common ones:
Virtual Sensor | Device Class | Description |
function_test_failure | problem | Indicates whether the last function test failed. ON means the function test has failed. |
duration_test_failure | problem | Indicates whether the last duration test failed. ON means the duration test has failed. |
These virtual sensors help monitor device health and detect potential failures efficiently.