Script- turn on yeelink.ceil26 with nightlight mode or day mode
http://192.168.2.50:8123/config/script/edit/script_set_to_nightlight_mode2
alias: Script- turn on yeelink.ceil26 with nightlight mode or day mode
sequence:
- choose:
- conditions:
- condition: state
entity_id: input_select.input_select_husband_book_room_status_dropdown
state: Sleep mode
sequence:
- service: light.turn_on
metadata: {}
data: {}
target:
entity_id: >-
light.yeelight_ceil26_0x1c5c4959_by_yeelight_integration_nightlight
- conditions:
- condition: state
entity_id: input_select.input_select_husband_book_room_status_dropdown
state: Work
sequence:
- service: light.turn_on
metadata: {}
data: {}
target:
entity_id: light.yeelight_ceil26_0x1c5c4959
mode: single