Added `'` to `off` in mqtt fan config so it is displayed correctly in the Home Assistant config. Also added switch config for light.

William Scanlon 2018-12-08 20:28:02 -05:00
parent 7b2db39f88
commit f1c5c3c399
1 changed files with 15 additions and 1 deletions

@ -82,12 +82,26 @@ Credit to [finity](https://community.home-assistant.io/t/sonoff-ifan02-tasmota-m
payload_available: Online
payload_not_available: Offline
speeds:
- off
- 'off'
- low
- medium
- high
```
### HomeAssistant MQTT switch config for fan light
```
- platform: mqtt
name: "Dining room fan light"
command_topic: "cmnd/sonoff_MBR_fan/power"
state_topic: "stat/sonoff_MBR_fan/POWER1"
qos: 1
payload_on: "ON"
payload_off: "OFF"
retain: true
optimistic: false
```
### Using hard wired push button switch attached to iFan02 GPIO to cycle speeds