Hello, I’m quite newbie for home assistant,
I create the utility meter, and I made the automation (taking from various site) but when I check the configuration I receive this:
alias: Energy Tariff
description: ""
trigger:
- platform: time
id: "7"
at: "07:00:00"
variables:
tariff: F2
- platform: time
id: "8"
at: "08:00:00"
variables:
tariff: F1
- platform: time
id: "19"
at: "19:00:00"
variables:
tariff: F2
- platform: time
id: "23"
at: "23:00:00"
variables:
tariff: F3
condition: []
action:
- if:
- condition: state
entity_id: binary_sensor.workday_sensor
state: "off"
then:
- service: select.select_option
data:
option: F3
target:
entity_id: select.energy_tariff
else:
- choose:
- conditions:
- condition: trigger
id: "7"
sequence:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- service: select.select_option
target:
entity_id: select.energy_tariff
data:
option: "{{ tariff }}"
- conditions:
- condition: trigger
id: "8"
sequence:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- service: select.select_option
target:
entity_id: select.energy_tariff
data:
option: "{{ tariff }}"
- conditions:
- condition: trigger
id: "19"
sequence:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
- service: select.select_option
target:
entity_id: select.energy_tariff
data:
option: "{{ tariff }}"
- conditions:
- condition: trigger
id: "23"
sequence:
- service: select.select_option
target:
entity_id: select.energy_tariff
data:
option: "{{ tariff }}"
mode: single
Can someone explain to me what Happen?
THX