Hi all!
I have a meter installed on my ASHP and recently discovered I can track usage depending if the ASHP is heating hot water (DHW) (default) or heating the home.
I’ve had the configuration running for around a day now but I’m not seeing it on the Energy Dashboard.
Have I missed something with the configuration here?
Here is the config entry for the meter:
utility_meter:
energy:
name: ashp_energy
source: sensor.ashp_energy_import_active_energy
tariffs:
- dhw
- heating
For context here is the automation to switch between the two tariffs
alias: Energy - ASHP Usage Toggle
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.ashp_dhw_heating_status
- switch.ashp_heating_enable
condition: []
action:
- if:
- condition: and
conditions:
- condition: state
entity_id: switch.ashp_heating_enable
state: "on"
- condition: state
entity_id: binary_sensor.ashp_dhw_heating_status
state: "off"
then:
- service: select.select_option
data:
option: heating
target:
entity_id: select.energy
else:
- service: select.select_option
data:
option: dhw
target:
entity_id: select.energy
mode: single
And here are the two entities as a result
state_class: total_increasing
source: sensor.ashp_energy_import_active_energy
status: collecting
last_period: 0
tariff: dhw
last_reset: 2023-01-12T19:19:18.793743+00:00
unit_of_measurement: kWh
device_class: energy
icon: mdi:counter
friendly_name: ashp_energy dhw
And
state_class: total_increasing
source: sensor.ashp_energy_import_active_energy
status: paused
last_period: 0
tariff: heating
last_reset: 2023-01-12T19:19:18.793767+00:00
unit_of_measurement: kWh
device_class: energy
icon: mdi:counter
friendly_name: ashp_energy heating
Can someone spot where I may have gone wrong? It looks like the unit_of_measurement
and state_class
are correct so I’m stumped!
Thanks