Status Binary Sensor

The Status Binary Sensor exposes the node state (if it’s connected to MQTT or not) for Home Assistant. It uses the MQTT birth and last will messages to do this.
# Example configuration entry
  - platform: status
    name: "Living Room Status"

Configuration variables:

  • name (Required, string): The name of the binary sensor.
  • id (Optional, ID): Manually specify the ID used for code generation.
  • All other options from Binary Sensor and MQTT Component. (Inverted mode is not supported)