mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Minimizing of the configuration sample (#1016)
This commit is contained in:
parent
ce12069456
commit
1abe7da82c
@ -27,15 +27,7 @@ To enable MQTT fans in your installation, add the following to your `configurati
|
|||||||
# Example configuration.yml entry
|
# Example configuration.yml entry
|
||||||
fan:
|
fan:
|
||||||
platform: mqtt
|
platform: mqtt
|
||||||
name: Living room
|
|
||||||
state_topic: "home/living-room/fan"
|
|
||||||
command_topic: "home/living-room/fan/set"
|
command_topic: "home/living-room/fan/set"
|
||||||
payload_on: "ON"
|
|
||||||
payload_off: "OFF"
|
|
||||||
optimistic: false
|
|
||||||
qos: 0
|
|
||||||
retain: true
|
|
||||||
value_template: '{% raw %}{{ value.x }}{% endraw %}'
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user