11-21-2023, 05:15 PM
(04-26-2023, 12:50 AM)admin Wrote: In the yaml below i am using i am not getting the right wattage. i want the over all wattage of all 16 CT's combined. what am i doing wrong? should (Measured_Current_1) be something different? iv seen other examples like " return id(phase_a_power).state + id(phase_b_power).state;" that would work but not for this setup. is there a line i can put in there to include all of the CT's?
thanks for your time. steve
- platform: template
id: power1
name: "power
lambda: return id(Measured_Current_1).state * 220;
device_class: power
unit_of_measurement: 'W'
update_interval: 5s
- platform: total_daily_energy
name: "Total Daily Energy1"
power_id: power1
filters:
- multiply: 0.001
unit_of_measurement: kWh
accuracy_decimals: 3
icon: mdi:clock-alert
device_class: energy