mirror of https://github.com/arendst/Tasmota.git
Merge branch 'master' of https://github.com/arendst/Tasmota.wiki
commit
7b7f34d524
|
@ -61,7 +61,7 @@ Automatic discovery is currently supported for:
|
||||||
- As normal behavior a button will automatically turn off after `one second`
|
- As normal behavior a button will automatically turn off after `one second`
|
||||||
- Switch - Announced as Home Assistant `binary sensor`
|
- Switch - Announced as Home Assistant `binary sensor`
|
||||||
|
|
||||||
Starting from release 6.7.1 to have `buttons` and `switches` discovered `switchtopic` or `buttontopic` must be set to default value `0` and they will listen to `sonoff/stat/RESULT` topic.
|
Starting from release 6.7.1 to have `buttons` and `switches` discovered `switchtopic` or `buttontopic` must be set to default value `0` and they will listen to `%topic%/stat/RESULT` topic.
|
||||||
```yaml
|
```yaml
|
||||||
MQT: sonoff/stat/RESULT = {"BUTTON1":"TOGGLE"}
|
MQT: sonoff/stat/RESULT = {"BUTTON1":"TOGGLE"}
|
||||||
MQT: sonoff/stat/RESULT = {"POWER":"ON"}
|
MQT: sonoff/stat/RESULT = {"POWER":"ON"}
|
||||||
|
|
Loading…
Reference in New Issue