mirror of https://github.com/arendst/Tasmota.git
Revert wrong change - if the HomeAssistant Discovery was not enabled, the topic goes cmnd/sonoffs/
parent
da089c724a
commit
609e7019ab
|
@ -125,9 +125,27 @@ This can also be done manually in Home Assistant UI through Developer tools - ![
|
|||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "sonoffs/cmnd/SetOption19"
|
||||
topic: "cmnd/sonoffs/SetOption19"
|
||||
payload: "1"
|
||||
```
|
||||
|
||||
#### Note: For disabling the Discovery, the automation is:
|
||||
|
||||
```yaml
|
||||
# Example automations.yaml entry
|
||||
- alias: "Disable MQTT discovery for all devices"
|
||||
trigger:
|
||||
platform: homeassistant
|
||||
event: start
|
||||
action:
|
||||
- service: mqtt.publish
|
||||
data:
|
||||
topic: "sonoffs/cmnd/SetOption19"
|
||||
payload: "0"
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Tip: Make all Tasmota devices report their firmware version
|
||||
|
||||
```yaml
|
||||
|
|
Loading…
Reference in New Issue