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