Added switch for Home Assistant sample config

jantenhove 2018-11-07 20:40:53 +01:00
parent aa63a07e87
commit 048e4c7ff5
1 changed files with 9 additions and 0 deletions

@ -52,6 +52,15 @@ Text item=iPower_Yesterday label="Power Yesterday: [%.3f kWh]" icon="energy"
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:
- platform: mqtt
name: "Blitzwolf Energy Today"