automations.yaml
This commit is contained in:
+10
-4
@@ -3799,26 +3799,32 @@
|
||||
path: jhol-byte/Ikea_bilresa_scroll_wheel.yaml
|
||||
- id: '1787723814939'
|
||||
alias: 3D Printer Lights - Toggle from Boolean
|
||||
description: Turns the SparkX i7 light on or off when input_boolean.3d_printer_lights
|
||||
changes.
|
||||
description: Turns the SparkX i7 light and local 3D printer light on or off when
|
||||
input_boolean.3d_printer_lights changes.
|
||||
triggers:
|
||||
- entity_id: input_boolean.3d_printer_lights
|
||||
trigger: state
|
||||
actions:
|
||||
- else:
|
||||
- action: light.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.sparkx_i7_light
|
||||
- action: light.turn_off
|
||||
continue_on_error: true
|
||||
target:
|
||||
entity_id: light.3d_printer_lights_local
|
||||
if:
|
||||
- condition: state
|
||||
entity_id: input_boolean.3d_printer_lights
|
||||
state: 'on'
|
||||
then:
|
||||
- action: light.turn_on
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.sparkx_i7_light
|
||||
- action: light.turn_on
|
||||
continue_on_error: true
|
||||
target:
|
||||
entity_id: light.3d_printer_lights_local
|
||||
mode: single
|
||||
- id: '1787723854939'
|
||||
alias: 3D Printer Lights - Sync Boolean
|
||||
|
||||
Reference in New Issue
Block a user