Reestructuración Shelly 4
This commit is contained in:
11
packages/sensor/consumo_general_persianas.yaml
Normal file
11
packages/sensor/consumo_general_persianas.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
sensor:
|
||||
- platform: mqtt
|
||||
name: "Consumo General Persianas"
|
||||
state_topic: "shellies/shelly4pro-061E6E/relay/1/power"
|
||||
unit_of_measurement: "W"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Energia General Persianas"
|
||||
state_topic: "shellies/shelly4pro-061E6E/relay/1/energy"
|
||||
unit_of_measurement: "KWh"
|
||||
value_template: "{{ value | multiply(0.01) | float | round(2)}}"
|
||||
Reference in New Issue
Block a user