Motion detection in the hallway, new lamp in the living room.

This commit is contained in:
2026-02-14 14:58:06 +01:00
parent fda6e6abff
commit fdbbbb5300
4 changed files with 307 additions and 322 deletions

View File

@@ -1,17 +1,26 @@
- id: '1623153060369'
alias: Licht bei Sonnenuntergang einschalten
description: ''
trigger:
- platform: sun
event: sunset
triggers:
- event: sunset
offset: '-1:00'
condition:
trigger: sun
conditions:
- condition: state
entity_id: person.marcus_scholz
state: home
action:
- service: script.moodlight_orange_plasma
data: {}
actions:
- data: {}
action: script.moodlight_orange_plasma
- action: light.turn_on
metadata: {}
target:
entity_id:
- light.kuche_anrichte
- light.kajplats_e14_cws_globe_806lm
data:
brightness_pct: 75
color_temp_kelvin: 3035
mode: single
- id: '1623224198352'
alias: TV Anti-Reflexion
@@ -33,14 +42,13 @@
- id: '1623526683767'
alias: Licht bei Sonnenaufgang ausschalten
description: ''
trigger:
- platform: sun
event: sunrise
triggers:
- event: sunrise
offset: '+1:00'
condition: []
action:
- service: light.turn_off
target:
trigger: sun
conditions: []
actions:
- target:
area_id:
- schlafzimmer
device_id:
@@ -52,9 +60,10 @@
- 98a9eef603f8c8ae6200c4834a3dbf4f
- 32d15eec63fe68d5770813d47da53657
- 9f42805af5b7e423023595390342b9ac
- 063e41329df7b29bbaa8df2f508ee6cb
entity_id: light.kajplats_e14_cws_globe_806lm
data:
transition: 2
action: light.turn_off
mode: single
- id: '1623673821789'
alias: Gute Nacht!
@@ -464,35 +473,28 @@
- id: '1632477389492'
alias: Licht beim Heimkommen einschalten
description: Nur während Dunkelphase
trigger:
- platform: state
entity_id: person.marcus_scholz
triggers:
- entity_id: person.marcus_scholz
to: home
from: not_home
condition:
- condition: or
conditions:
- condition: sun
before: sunrise
before_offset: '+1'
- condition: sun
after_offset: '-1'
after: sunset
enabled: false
trigger: state
conditions:
- condition: sun
before: sunrise
before_offset: '+1'
after: sunset
after_offset: '-1'
action:
- service: script.moodlight_orange_plasma
data: {}
- service: light.turn_on
target:
actions:
- data: {}
action: script.moodlight_orange_plasma
- target:
device_id:
- 32d15eec63fe68d5770813d47da53657
- 53a27edf581fcf40f3bc8b253b1ee369
data: {}
- 5abbb43e5d015ee75c7c900240b4329e
data:
brightness_pct: 75
color_temp_kelvin: 2992
action: light.turn_on
mode: single
- id: '1648485179021'
alias: Schalte den Fernseher mit WoL ein
@@ -825,13 +827,20 @@
actions:
- data: {}
action: script.moodlight_xmas
- target:
device_id:
- 53a27edf581fcf40f3bc8b253b1ee369
- 5abbb43e5d015ee75c7c900240b4329e
data:
brightness_pct: 75
color_temp_kelvin: 2992
action: light.turn_on
- action: switch.turn_on
metadata: {}
data: {}
target:
device_id:
- 1f3c4b5de4aea99bac83688ceb22293b
- 48dafb7f4a8ed6ccbb046758cb660c23
mode: single
- id: '1700483035319'
alias: Licht bei Sonnenaufgang ausschalten (XMas)
@@ -854,7 +863,7 @@
- 98a9eef603f8c8ae6200c4834a3dbf4f
- 32d15eec63fe68d5770813d47da53657
- 9f42805af5b7e423023595390342b9ac
- 063e41329df7b29bbaa8df2f508ee6cb
- 5abbb43e5d015ee75c7c900240b4329e
data:
transition: 2
action: light.turn_off
@@ -864,7 +873,6 @@
target:
device_id:
- 1f3c4b5de4aea99bac83688ceb22293b
- 48dafb7f4a8ed6ccbb046758cb660c23
mode: single
- id: '1701774106609'
alias: IKEA STYRBAR Wohnzimmer
@@ -1328,3 +1336,30 @@
entity_id: a57a56132635ff48a6d2ae8df322b385
domain: switch
mode: single
- id: '1771012833905'
alias: Bewegungssteuerung Flurlicht
description: ''
use_blueprint:
path: aledziko/ikea-myggspray-e2494-matter-motion-sensor.yaml
input:
motion_entity: binary_sensor.myggspray_wrlss_mtn_sensor_belegung
no_motion_wait: 0
illuminance_entity: sensor.myggspray_wrlss_mtn_sensor_beleuchtungsstarke
battery_entity: sensor.myggspray_wrlss_mtn_sensor_batterie
motion_on_action:
- action: light.turn_on
metadata: {}
target:
entity_id:
- light.schreibtisch_deko
data: {}
motion_off_action:
- action: light.turn_off
metadata: {}
target:
entity_id:
- light.schreibtisch_deko
data: {}
motion_cutoff: 10
illuminance_low_threshold: 10
battery_low_threshold: 20