automations

This commit is contained in:
mjallen18
2025-03-06 11:42:18 -06:00
parent 6d1e9e59d7
commit 6a573e4546
2 changed files with 81 additions and 32 deletions

View File

@@ -58,27 +58,23 @@
id: id:
- up press - up press
sequence: sequence:
- device_id: 44f4ce3a35528dc7874069d4935e8b96 - action: light.turn_on
domain: light metadata: {}
entity_id: d733cc686a1202a747a1b8982a5b129b data:
type: brightness_increase brightness_step_pct: 10
- device_id: eb41c45109c032c15c45516dd26debce target:
domain: light entity_id: light.bedroom_lights
entity_id: 627446070b5b0b33cf3cf93ef723c4dd
type: brightness_increase
- conditions: - conditions:
- condition: trigger - condition: trigger
id: id:
- down press - down press
sequence: sequence:
- device_id: 44f4ce3a35528dc7874069d4935e8b96 - action: light.turn_on
domain: light metadata: {}
entity_id: d733cc686a1202a747a1b8982a5b129b data:
type: brightness_decrease brightness_step_pct: -10
- device_id: eb41c45109c032c15c45516dd26debce target:
domain: light entity_id: light.bedroom_lights
entity_id: 627446070b5b0b33cf3cf93ef723c4dd
type: brightness_decrease
mode: single mode: single
- id: '1740697291423' - id: '1740697291423'
alias: Living Rooom Lights alias: Living Rooom Lights
@@ -148,27 +144,23 @@
id: id:
- up press - up press
sequence: sequence:
- device_id: b4eb91155f9055a0c60ef550df160a27 - action: light.turn_on
domain: light metadata: {}
entity_id: 199c07d0f6e74e9e9e233231a7865225 data:
type: brightness_increase brightness_step_pct: 10
- device_id: 9780865b63490c56c106b6d6a7ab0a12 target:
domain: light entity_id: light.living_room_lights
entity_id: 68f196203d0d94582df8ee8349fc8add
type: brightness_increase
- conditions: - conditions:
- condition: trigger - condition: trigger
id: id:
- down press - down press
sequence: sequence:
- device_id: b4eb91155f9055a0c60ef550df160a27 - action: light.turn_on
domain: light metadata: {}
entity_id: 199c07d0f6e74e9e9e233231a7865225 data:
type: brightness_decrease brightness_step_pct: -10
- device_id: 9780865b63490c56c106b6d6a7ab0a12 target:
domain: light entity_id: light.living_room_light_1
entity_id: 68f196203d0d94582df8ee8349fc8add
type: brightness_decrease
- conditions: - conditions:
- condition: trigger - condition: trigger
id: id:
@@ -186,3 +178,59 @@
target: target:
entity_id: light.living_room_lights entity_id: light.living_room_lights
mode: single mode: single
- id: '1741048414771'
alias: Front Closet
description: ''
triggers:
- type: present
device_id: c6519ea1e715f397dbbf7b73452f9e49
entity_id: c3a7b8892b8b372d2c40556e770ddc68
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 0
id: present
- type: not_present
device_id: c6519ea1e715f397dbbf7b73452f9e49
entity_id: c3a7b8892b8b372d2c40556e770ddc68
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 5
id: not
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- present
sequence:
- action: light.turn_on
metadata: {}
data:
transition: 2
brightness_pct: 100
kelvin: 6010
target:
entity_id:
- light.front_closet_light_1
- light.front_closet_light_2
- conditions:
- condition: trigger
id:
- not
sequence:
- action: light.turn_off
metadata: {}
data:
transition: 2
target:
entity_id:
- light.front_closet_light_1
- light.front_closet_light_2
mode: single

View File

@@ -257,6 +257,7 @@ in
trusted_proxies = [ trusted_proxies = [
"172.30.33.0/24" "172.30.33.0/24"
"10.0.1.18" "10.0.1.18"
"10.0.1.0/24"
]; ];
}; };