Wasted half an hour to find out why this doesn't work. Group topic first, then cmnd .

Jan 2019-01-28 18:26:22 +01:00
parent 257fda98d4
commit 36c2e7d0a5
1 changed files with 2 additions and 2 deletions

@ -112,7 +112,7 @@ Use this automation to get all your (auto discovered) devices in sync, including
If you want all your devices to be found by Home Assistant, add an automation which will enable `SetOption19` for all devices.\
The automation will be triggered each time Home Assistant is (re)started although it is necessary to run it only if you have a device that doesn't have `SetOption19` enabled. After all your devices are setup with autodiscovery its advisable to turn off or delete this automation.
This can also be done manually in Home Assistant UI through Developer tools - ![](https://cdn.pbrd.co/images/HY47i1b.jpg) (MQTT) by posting to topic `cmnd/sonoffs/SetOption19` with payload `1`
This can also be done manually in Home Assistant UI through Developer tools - ![](https://cdn.pbrd.co/images/HY47i1b.jpg) (MQTT) by posting to topic `sonoffs/cmnd/SetOption19` with payload `1`
```yaml
# Example automations.yaml entry
@ -123,6 +123,6 @@ This can also be done manually in Home Assistant UI through Developer tools - ![
action:
- service: mqtt.publish
data:
topic: "cmnd/sonoffs/SetOption19"
topic: "sonoffs/cmnd/SetOption19"
payload: "1"
```