Files
zorruno-homeassistant/packages/total_power_sum_template.yaml
2022-10-12 11:20:47 +13:00

8 lines
402 B
YAML

sensor:
- platform: template
sensors:
electricity_power_total:
friendly_name: "Electricity Power Total"
unit_of_measurement: "W"
value_template: "{{ states('sensor.tasmo_wemosd1_7280_powermon_1_energy_power_0') |float + states('sensor.tasmo_wemosd1_7280_powermon_1_energy_power_1') | float + states('sensor.tasmo_wemosd1_7280_powermon_1_energy_power_2') | float }}"