FIX consumos shelly

This commit is contained in:
dfcarvajal
2019-08-27 11:45:57 +02:00
parent 6747c4dbc7
commit 53fa7e6dad
4 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@ sensor:
unit_of_measurement: "W"
- platform: mqtt
name: "Consumo Calefacción Diario"
name: "Consumo Diario Calefacción"
state_topic: "shellies/shelly4pro-061E6E/relay/2/energy"
unit_of_measurement: "kW"
value_template: "{{ value | multiply(0.01) | float | round(2)}}"
value_template: "{{ value | multiply(0.001) | float | round(2)}}"

View File

@@ -5,7 +5,7 @@ sensor:
unit_of_measurement: "W"
- platform: mqtt
name: "Consumo Coche Eléctrico Diario"
name: "Consumo Diario Coche Eléctrico"
state_topic: "shellies/shelly4pro-061E6E/relay/3/energy"
unit_of_measurement: "kW"
value_template: "{{ value | multiply(0.01) | float | round(2)}}"
value_template: "{{ value | multiply(0.001) | float | round(2)}}"

View File

@@ -5,7 +5,7 @@ sensor:
unit_of_measurement: "W"
- platform: mqtt
name: "Consumo Luces Diario"
name: "Consumo Diario Luces"
state_topic: "shellies/shelly4pro-061E6E/relay/0/energy"
unit_of_measurement: "kW"
value_template: "{{ value | multiply(0.01) | float | round(2)}}"
value_template: "{{ value | multiply(0.001) | float | round(2)}}"

View File

@@ -5,7 +5,7 @@ sensor:
unit_of_measurement: "W"
- platform: mqtt
name: "Consumo Persianas Diario"
name: "Consumo Diario Persianas"
state_topic: "shellies/shelly4pro-061E6E/relay/1/energy"
unit_of_measurement: "kW"
value_template: "{{ value | multiply(0.01) | float | round(2)}}"
value_template: "{{ value | multiply(0.001) | float | round(2)}}"