mirror of https://github.com/arendst/Tasmota.git
Added `'` to `off` in mqtt fan config so it is displayed correctly in the Home Assistant config. Also added switch config for light.
parent
7b2db39f88
commit
f1c5c3c399
|
@ -82,12 +82,26 @@ Credit to [finity](https://community.home-assistant.io/t/sonoff-ifan02-tasmota-m
|
||||||
payload_available: Online
|
payload_available: Online
|
||||||
payload_not_available: Offline
|
payload_not_available: Offline
|
||||||
speeds:
|
speeds:
|
||||||
- off
|
- 'off'
|
||||||
- low
|
- low
|
||||||
- medium
|
- medium
|
||||||
- high
|
- 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
|
### Using hard wired push button switch attached to iFan02 GPIO to cycle speeds
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue