Adding some sensors for battery.. fixes #072
This commit is contained in:
parent
85547221a2
commit
a9288ff0cb
|
@ -1,42 +1,42 @@
|
||||||
# - platform: mqtt
|
- platform: mqtt
|
||||||
# name: "Washer"
|
name: "Washer"
|
||||||
# state_topic: "zwave2mqtt/washer/50/1/0"
|
state_topic: "zwave2mqtt/washer/50/1/0"
|
||||||
# device_class: "power"
|
device_class: "power"
|
||||||
# unit_of_measurement: "kWh"
|
unit_of_measurement: "kWh"
|
||||||
|
|
||||||
# - platform: mqtt
|
- platform: mqtt
|
||||||
# name: "Washer Power 1"
|
name: "Washer Power 1"
|
||||||
# state_topic: "zwave2mqtt/washer/49/1/4"
|
state_topic: "zwave2mqtt/washer/49/1/4"
|
||||||
# device_class: "power"
|
device_class: "power"
|
||||||
# unit_of_measurement: "W"
|
unit_of_measurement: "W"
|
||||||
|
|
||||||
# - platform: mqtt
|
- platform: mqtt
|
||||||
# name: "Washer_Power"
|
name: "Washer_Power"
|
||||||
# state_topic: "zwave2mqtt/washer/50/1/2"
|
state_topic: "zwave2mqtt/washer/50/1/2"
|
||||||
# device_class: "power"
|
device_class: "power"
|
||||||
# unit_of_measurement: "W"
|
unit_of_measurement: "W"
|
||||||
|
|
||||||
# - platform: mqtt
|
- platform: mqtt
|
||||||
# name: "Washer Power 3"
|
name: "Washer Power 3"
|
||||||
# state_topic: "zwave2mqtt/washer/50/1/9"
|
state_topic: "zwave2mqtt/washer/50/1/9"
|
||||||
# device_class: "power"
|
device_class: "power"
|
||||||
# unit_of_measurement: "W"
|
unit_of_measurement: "W"
|
||||||
|
|
||||||
# - platform: mqtt
|
- platform: mqtt
|
||||||
# name: "Washer Power kwh"
|
name: "Washer Power kwh"
|
||||||
# state_topic: "zwave2mqtt/washer/50/1/1"
|
state_topic: "zwave2mqtt/washer/50/1/1"
|
||||||
# device_class: "power"
|
device_class: "power"
|
||||||
# unit_of_measurement: "kWh"
|
unit_of_measurement: "kWh"
|
||||||
|
|
||||||
|
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
washer_power:
|
# washer_power:
|
||||||
friendly_name: "Washer Power"
|
# friendly_name: "Washer Power"
|
||||||
entity_id: sensor.time
|
# entity_id: sensor.time
|
||||||
unit_of_measurement: ''
|
# unit_of_measurement: ''
|
||||||
value_template: >-
|
# value_template: >-
|
||||||
{{ states.switch.washer.attributes.current_power_w | int }}
|
# {{ states.switch.washer.attributes.current_power_w | int }}
|
||||||
low_battery:
|
low_battery:
|
||||||
friendly_name: 'Low Battery'
|
friendly_name: 'Low Battery'
|
||||||
entity_id: sensor.time
|
entity_id: sensor.time
|
||||||
|
|
Loading…
Reference in New Issue