HI all, just started with home assistant, first post in the community. Trying to track my heat pump usage using a utility meter based on a 3 tariff system -day, peak and night. I have created the below in configuration.yaml, but it doesn’t show up in automations - even though it all the appropriate sensors seem to have been created. Any idea what i have done wrong? Thank you in advance.
Utility_meter:
daily_hpenergy:
source: sensor.power_usage
name: Daily HP Energy
cycle: daily
tariffs:
- day
- peak
- night
bimonthly_hpenergy:
source: sensor.power_usage
name: Bi Monthly HP Energy
cycle: bimonthly
tariffs:
- day
- peak
- night
bimonthly_energy:
source: sensor.power_usage
name: Bi Monthly HP Energy
cron: "59 23 13 * *"
automation:
trigger:
- platform: time
at: "08:00:00"
variables:
tariff: "day"
- platform: time
at: "17:00:00"
variables:
tariff: "peak"
- platform: time
at: "19:00:00"
variables:
tariff: "day"
- platform: time
at: "23:00:00"
variables:
tariff: "night"
action:
- service: select.select_option
target:
entity_id: select.daily_hpenergy
data:
option: "{{ tariff }}"
- service: select.select_option
target:
entity_id: select.bimonthly_hpenergy
data:
option: "{{ tariff }}"