mirror of https://github.com/arendst/Tasmota.git
Adjust topic used for SetOption19 automation -- it was using sonoffs/cmnd/SetOption19 which of course doesn't work until AFTER enabling SetOption19
parent
3f56bb57d7
commit
5456f654a2
|
@ -112,7 +112,9 @@ 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 `sonoffs/cmnd/SetOption19` with payload `1`
|
Note: This must use the default Tasmota topic format `%prefix%/%topic%/COMMAND`. After enabling SetOption19, the format will change to `%topic%/%prefix%/COMMAND` and those devices won't see this message.
|
||||||
|
|
||||||
|
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`
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example automations.yaml entry
|
# Example automations.yaml entry
|
||||||
|
@ -123,7 +125,7 @@ This can also be done manually in Home Assistant UI through Developer tools - ![
|
||||||
action:
|
action:
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "sonoffs/cmnd/SetOption19"
|
topic: "cmnd/sonoffs/SetOption19"
|
||||||
payload: "1"
|
payload: "1"
|
||||||
```
|
```
|
||||||
### Tip: Make all Tasmota devices report their firmware version
|
### Tip: Make all Tasmota devices report their firmware version
|
||||||
|
|
Loading…
Reference in New Issue