Try to fix Tina Desk Switch weirdness
This commit is contained in:
@ -1310,10 +1310,23 @@
|
|||||||
input:
|
input:
|
||||||
dimmer_device: 40c14ccfe958d21d75888a968bbbf908
|
dimmer_device: 40c14ccfe958d21d75888a968bbbf908
|
||||||
on_short_action:
|
on_short_action:
|
||||||
- data: {}
|
- if:
|
||||||
target:
|
- condition: state
|
||||||
entity_id: light.tina_desk_lights
|
entity_id: light.tina_desk_lights
|
||||||
action: light.turn_on
|
state: 'off'
|
||||||
|
then:
|
||||||
|
- action: input_select.select_option
|
||||||
|
metadata: {}
|
||||||
|
data:
|
||||||
|
option: Reset
|
||||||
|
target:
|
||||||
|
entity_id: input_select.tina_desk_scenes
|
||||||
|
else:
|
||||||
|
- action: light.turn_off
|
||||||
|
metadata: {}
|
||||||
|
data: {}
|
||||||
|
target:
|
||||||
|
entity_id: light.tina_desk_lights
|
||||||
on_long_action:
|
on_long_action:
|
||||||
- data:
|
- data:
|
||||||
option: Reset
|
option: Reset
|
||||||
|
Reference in New Issue
Block a user