Updated Home Assistant (markdown)

Federico Leoni 2019-10-31 15:49:05 -03:00
parent ee3a39d4d4
commit 3a2d56c1c4
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` - 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"}