mirror of https://github.com/arendst/Tasmota.git
Added switch for Home Assistant sample config
parent
aa63a07e87
commit
048e4c7ff5
|
@ -52,6 +52,15 @@ Text item=iPower_Yesterday label="Power Yesterday: [%.3f kWh]" icon="energy"
|
||||||
|
|
||||||
configuration.yaml
|
configuration.yaml
|
||||||
```
|
```
|
||||||
|
switch:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Blitzwolf"
|
||||||
|
state_topic: "stat/blitzwolf/POWER"
|
||||||
|
command_topic: "cmnd/blitzwolf/POWER"
|
||||||
|
payload_on: "ON"
|
||||||
|
payload_off: "OFF"
|
||||||
|
retain: true
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Blitzwolf Energy Today"
|
name: "Blitzwolf Energy Today"
|
||||||
|
|
Loading…
Reference in New Issue