mirror of https://github.com/arendst/Tasmota.git
Wasted half an hour to find out why this doesn't work. Group topic first, then cmnd .
parent
257fda98d4
commit
36c2e7d0a5
|
@ -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.\
|
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.
|
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
|
```yaml
|
||||||
# Example automations.yaml entry
|
# Example automations.yaml entry
|
||||||
|
@ -123,6 +123,6 @@ This can also be done manually in Home Assistant UI through Developer tools - ![
|
||||||
action:
|
action:
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "cmnd/sonoffs/SetOption19"
|
topic: "sonoffs/cmnd/SetOption19"
|
||||||
payload: "1"
|
payload: "1"
|
||||||
```
|
```
|
Loading…
Reference in New Issue