mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Minior update
This commit is contained in:
parent
6d0cac938b
commit
566fa82cec
@ -12,7 +12,7 @@ ha_category: Binary Sensor
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
This `mqtt` binary sensor implementation uses the MQTT message payload as the sensor value. If messages in this state_topic are published with *RETAIN* flag, the sensor will receive an instant update with the last known value. Otherwise, the initial state will be off.
|
The `mqtt` binary sensor platform uses the MQTT message payload as the sensor value. If messages in this `state_topic` are published with *RETAIN* flag, the sensor will receive an instant update with the last known value. Otherwise, the initial state will be off.
|
||||||
|
|
||||||
To use your MQTT binary sensor in your installation, add the following to your `configuration.yaml` file:
|
To use your MQTT binary sensor in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user