3
- We want a special action on double click on standard light switch which does not implement 'double click' or 'hold/release' triggers.
5
* To wait for 1 second for a new 'change state' trigger on the switch (with continue_on_timeout option)
6
* If succesful 'wait.trigger' variable will be set to the appropriate trigger. Otherwise, it will be None
7
* So, we perform 'special action' to turn all lights off if trigger is None
8
* Otherwise, we perform standard actions
12
alias: 'Hall Bulb: Entrance Combo'
17
device_id: 07b7086cf34752386c82a5109311ac6e
18
entity_id: switch.0x0c4314fffe2061db_right
29
device_id: 07b7086cf34752386c82a5109311ac6e
30
entity_id: switch.0x0c4314fffe2061db_right
33
continue_on_timeout: true
36
value_template: '{{ wait.trigger == None }}'
41
device_id: 07b7086cf34752386c82a5109311ac6e
42
entity_id: switch.0x0c4314fffe2061db_right
46
device_id: bf45f1d630db6e2aa1307866603f548a
47
entity_id: light.smart_light
51
device_id: bf45f1d630db6e2aa1307866603f548a
52
entity_id: light.smart_light
55
- service: switch.turn_off
58
entity_id: switch.all_lights
59
- service: input_button.press
62
entity_id: input_button.button_confirm