Returns the power usage in Watts from the AC to home assistant as a device attribute.
Add these lines to configuration.yaml to get a graph of your AC's power usage: (note that history graph is deprecated according to HA but they don't give any clear instructions on what you're supposed to use instead, so the graph might stop working at some point in the future)
sensor:
- platform: template
sensors:
ac_power_sensor:
friendly_name: AC Power Usage
value_template:
"{{states.climate.air_conditioner.attributes.power}}"
unit_of_measurement: W
history_graph:
power:
name: Power Graph
entities:
- sensor.ac_power_sensor
Returns the power usage in Watts from the AC to home assistant as a device attribute.
Add these lines to configuration.yaml to get a graph of your AC's power usage: (note that history graph is deprecated according to HA but they don't give any clear instructions on what you're supposed to use instead, so the graph might stop working at some point in the future)