With version 113 we have the option to combine multiple trigger options into one automation using the “choose:” keyword. I want to monitor the state of my dishwasher based on the power consumption. So here when wattage is between 0 its off, 1-6 its standby andf 7-3600watts its Active. The below works fine! (although the numeric ranges are still not clear to me with above/below.)
How can I combine this into one single automation now?
- id: vaatwasser_uitgeschakeld
alias: Vaatwasser - Uitgeschakeld
trigger:
- below: 1
entity_id: sensor.vaatwasser_power
for: 00:00:05
platform: numeric_state
action:
- service: input_select.select_option
data:
entity_id: input_select.statusvaatwasser
option: Uitgeschakeld
- id: vaatwasser_standby
alias: Vaatwasser - Standby
trigger:
- above: 1
below: 6
entity_id: sensor.vaatwasser_power
for: 00:00:05
platform: numeric_state
action:
- service: input_select.select_option
data:
entity_id: input_select.statusvaatwasser
option: Standby
- id: vaatwasser_aktief
alias: Vaatwasser - Aktief
trigger:
- above: 6
entity_id: sensor.vaatwasser_power
for: 00:00:05
platform: numeric_state
action:
- service: input_select.select_option
data:
entity_id: input_select.statusvaatwasser
option: Aktief