When an input.boolean change its state to TRUE/ON then it should turn on switch “A” and 15 seconds after “A” is confirmed turned on it should turn on switch “B”.
And when the nput.boolean change its state to FALSE/OFF hen it should turn off switch “B” and 15 seconds after “B” is confirmed turned off it should turn off switch “A”.
Is there a Blueprint like that or do I need to learn how to do one by myself?
What I posted doesn’t explicitly confirm that a switch has changed to the desired state. It simply assumes the switch complies with the command, pauses for 15 seconds, and then sets the next switch’s state.
If you really want it to check and confirm that the switch has changed to the desired state, it will require a bit more sophistication.
Please consider marking my post (above) with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. It also puts a link under your first post that leads to the Solution post. All of this helps users find answers to similar questions.
That’s because your blueprint specifies target_zon and target_pump as a target instead of an entity_id. As a result, the variable first gets set to this:
{'entity_id': 'switch.devzone1'}
instead of this:
'switch.devzone1'
Change your code to this:
input:
selected_switch:
name: Irrigation Helper
description: Choose the entity of the Helper
selector:
entity:
domain: input_boolean
target_zon:
name: Irrigation Switch
description: The actual irrigation valve switch.
selector:
entity:
domain: switch
target_pump:
name: Irrigation Pump
description: The irrigation pump connected to above valve.
selector:
entity:
domain: switch