Merge branch 'master' of https://github.com/arendst/Tasmota.wiki

blakadder 2019-10-31 20:12:33 +01:00
commit 7b7f34d524
1 changed files with 1 additions and 1 deletions

@ -61,7 +61,7 @@ Automatic discovery is currently supported for:
- As normal behavior a button will automatically turn off after `one second`
- 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
MQT: sonoff/stat/RESULT = {"BUTTON1":"TOGGLE"}
MQT: sonoff/stat/RESULT = {"POWER":"ON"}