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:
|
action:
|
||||||
- service: mqtt.publish
|
- service: mqtt.publish
|
||||||
data:
|
data:
|
||||||
topic: "sonoffs/cmnd/SetOption19"
|
topic: "cmnd/sonoffs/SetOption19"
|
||||||
payload: "1"
|
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
|
### Tip: Make all Tasmota devices report their firmware version
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
Loading…
Reference in New Issue