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
|
login_attempts_threshold: 5
|
||||||
image:
|
image:
|
||||||
input_boolean:
|
input_boolean:
|
||||||
|
3d_printer_timelapse:
|
||||||
|
name: "3D printer timelapse"
|
||||||
|
icon: "mdi:camera-burst"
|
||||||
input_datetime:
|
input_datetime:
|
||||||
input_number:
|
input_number:
|
||||||
input_select:
|
input_select:
|
||||||
|
@ -25,6 +25,15 @@ good_night:
|
|||||||
- light.hallway_lightstrip
|
- light.hallway_lightstrip
|
||||||
- light.balcony
|
- light.balcony
|
||||||
- light.table_lamp_lights
|
- 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
|
- service: switch.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.printer_switch
|
- switch.printer_switch
|
||||||
@ -100,6 +109,15 @@ leave_home:
|
|||||||
- light.hallway_lightstrip
|
- light.hallway_lightstrip
|
||||||
- light.balcony
|
- light.balcony
|
||||||
- light.table_lamp_lights
|
- 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
|
- service: switch.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.kitchen_camera_outlet_on_off
|
- switch.kitchen_camera_outlet_on_off
|
||||||
|
Loading…
Reference in New Issue
Block a user