Hi,
I am looking to create the following senario.
An automation tries to fire every 1 minute, and needs to check the status of input booleans. If any of the inputs are ON, the service switches on a boiler.
If ALL of the inputs are OFF, the boiler switches off.
I got this far: -
alias: Boiler Call for Heat
description: ''
trigger:
- platform: time_pattern
seconds: '60'
condition:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.lr_call_heat
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: input_boolean.kt_call_heat
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: input_boolean.mb_call_heat
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: input_boolean.of_call_heat
state: 'on'
- condition: or
conditions:
- condition: state
entity_id: input_boolean.fb_call_heat
state: 'on'
action:
- service: switch.turn_on
data: {}
entity_id: switch.shelly1_40f52000485c
mode: single
This is the automation to switch on the boiler. I also as above want to switch the boiler off if ALL of the booleans are OFF.
Any ideas?
Thanks.