mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
Add motor docs
This commit is contained in:
parent
d56533b6c4
commit
0e0b98f789
@ -24,6 +24,7 @@ sensor:
|
|||||||
name: "MQTT Sensor"
|
name: "MQTT Sensor"
|
||||||
qos: 0
|
qos: 0
|
||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
@ -31,6 +31,7 @@ switch:
|
|||||||
payload_on: "ON"
|
payload_on: "ON"
|
||||||
payload_off: "OFF"
|
payload_off: "OFF"
|
||||||
optimistic: false
|
optimistic: false
|
||||||
|
state_format:
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
@ -42,6 +43,7 @@ Configuration variables:
|
|||||||
- **payload_on** (*Optional*): The payload that represents enabled state. Default is "ON".
|
- **payload_on** (*Optional*): The payload that represents enabled state. Default is "ON".
|
||||||
- **payload_off** (*Optional*): The payload that represents disabled state. Default is "OFF".
|
- **payload_off** (*Optional*): The payload that represents disabled state. Default is "OFF".
|
||||||
- **optimistic** (*Optional*): Flag that defines if switch works in optimistic mode. Default is true if no state topic defined, else false.
|
- **optimistic** (*Optional*): Flag that defines if switch works in optimistic mode. Default is true if no state topic defined, else false.
|
||||||
|
- **state_format** (*Optional*): Value to parse.
|
||||||
|
|
||||||
<p class='note warning'>
|
<p class='note warning'>
|
||||||
Make sure that your topics match exact. `some-topic/` and `some-topic` are different topics.
|
Make sure that your topics match exact. `some-topic/` and `some-topic` are different topics.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user