Advertisement
314ma

energia_czynna_aktualnie_pobierana

Apr 26th, 2023
1,531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.42 KB | None | 0 0
  1. template:
  2.   - trigger:
  3.       - platform: time_pattern
  4.         seconds: "/5"
  5.     sensor:
  6.       - name: "energia_czynna_aktualnie_pobierana"
  7.         state: "{{ (states('sensor.electricity_meter_power_active_phase_1')|float  + states('sensor.electricity_meter_power_active_phase_2')|float + states('sensor.electricity_meter_power_active_phase_3')|float) | round(0) }}"
  8.         unit_of_measurement: "W"
  9.         device_class: energy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement