This commit is contained in:
Home Assistant Version Control
2026-08-28 05:24:18 +00:00
parent 701e2f49b3
commit 579efd3ef3
3 changed files with 36 additions and 20 deletions
+23 -8
View File
@@ -3637,14 +3637,29 @@
- 230
dim_turns_lights_on: true
click_action_ch2:
- action: light.toggle
metadata: {}
target:
entity_id:
- light.3d_printer_lights_local
- light.bedroom_lamp_2
data:
brightness_pct: 100
- if:
- condition: or
conditions:
- condition: state
entity_id: light.3d_printer_lights_local
state: 'on'
- condition: state
entity_id: light.bedroom_lamp_2
state: 'on'
then:
- action: light.turn_off
target:
entity_id:
- light.3d_printer_lights_local
- light.bedroom_lamp_2
else:
- action: light.turn_on
target:
entity_id:
- light.3d_printer_lights_local
- light.bedroom_lamp_2
data:
brightness_pct: 100
scroll_wheel_target_ch2:
- light.3d_printer_lights_local
- light.bedroom_lamp_2