Turn off 3d printer light when timelapse is not running
This commit is contained in:
parent
25d5022813
commit
8b8a6f07aa
@ -19,6 +19,9 @@ http:
|
||||
login_attempts_threshold: 5
|
||||
image:
|
||||
input_boolean:
|
||||
3d_printer_timelapse:
|
||||
name: "3D printer timelapse"
|
||||
icon: "mdi:camera-burst"
|
||||
input_datetime:
|
||||
input_number:
|
||||
input_select:
|
||||
|
@ -25,6 +25,15 @@ good_night:
|
||||
- light.hallway_lightstrip
|
||||
- light.balcony
|
||||
- light.table_lamp_lights
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.3d_printer_timelapse
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.3d_printer_light
|
||||
- service: switch.turn_off
|
||||
entity_id:
|
||||
- switch.printer_switch
|
||||
@ -100,6 +109,15 @@ leave_home:
|
||||
- light.hallway_lightstrip
|
||||
- light.balcony
|
||||
- light.table_lamp_lights
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.3d_printer_timelapse
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.turn_off
|
||||
entity_id:
|
||||
- light.3d_printer_light
|
||||
- service: switch.turn_on
|
||||
entity_id:
|
||||
- switch.kitchen_camera_outlet_on_off
|
||||
|
Loading…
Reference in New Issue
Block a user