scenes and automations

This commit is contained in:
Bastian Schnorbus
2025-05-21 18:56:48 +02:00
parent 521d5d2776
commit 0aa5276855
2 changed files with 101 additions and 31 deletions

View File

@@ -1338,7 +1338,7 @@
above: 20
- condition: numeric_state
entity_id: sensor.daily_forecast
above: 20
above: 19
- condition: state
entity_id: input_boolean.sonnenschutz
state: 'on'
@@ -1346,10 +1346,10 @@
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand'', ''last_triggered'').day==now().day
}}'
alias: Wenn diese Automation heute noch nicht lief
- condition: template
- alias: Wenn cloud_coverage < 60%
condition: template
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
< 60 }}'
alias: Wenn cloud_coverage < 60%
< 72 }}'
- alias: Bedingung für Rollo soll wieder hoch
condition: and
conditions:
@@ -1394,7 +1394,9 @@
- binary_sensor.0x00158d0007e40238_occupancy
from: 'off'
to: 'on'
conditions: []
conditions:
- condition: time
before: '22:00:00'
actions:
- action: light.turn_on
metadata: {}
@@ -1426,10 +1428,10 @@
- alias: Sonne zu weit im Westen
entity_id:
- sun.sun
attribute: azimuth
above: 180
id: SonneWiederOkay
trigger: numeric_state
attribute: azimuth
conditions:
- condition: or
conditions:
@@ -1447,7 +1449,7 @@
above: 12
- condition: numeric_state
entity_id: sensor.daily_forecast
above: 20
above: 19
- condition: state
entity_id: input_boolean.sonnenschutz
state: 'on'
@@ -1455,10 +1457,10 @@
condition: template
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand_ostseite'',
''last_triggered'').day==now().day }}'
- condition: template
- alias: Wenn cloud_coverage < 60% ist
condition: template
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
< 60 }}'
alias: Wenn cloud_coverage < 60% ist
< 70 }}'
- alias: Bedingung für Rollo soll wieder hoch
condition: and
conditions:
@@ -1473,6 +1475,7 @@
- condition: numeric_state
entity_id: cover.00115a498e0439
above: 60
enabled: false
actions:
- alias: Rollos runter
if: []
@@ -1481,6 +1484,8 @@
metadata: {}
data:
position: 25
target:
entity_id: cover.00115a498e0439
- alias: Rollos wieder hoch
if:
- condition: and

107
scenes.yaml Executable file → Normal file
View File

@@ -188,14 +188,6 @@
- id: '1741113836638'
name: Studio Ambiente
entities:
light.stehlampe_studio:
supported_color_modes:
- brightness
color_mode: brightness
brightness: 26
friendly_name: Stehlampe Studio
supported_features: 32
state: 'on'
light.0x04cd15fffe78a60e:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
@@ -219,28 +211,40 @@
color_temp_kelvin:
color_temp:
hs_color:
- 282.353
- 108.706
- 100
rgb_color:
- 180
- 0
- 48
- 255
- 0
xy_color:
- 0.284
- 0.108
color:
x: 0.284
y: 0.108
color_power_on_behavior:
do_not_disturb:
linkquality: 255
- 0.188
- 0.734
icon: mdi:television-ambient-light
friendly_name: Stimmungslicht
supported_features: 44
state: 'on'
light.stehlampestudio:
effect_list:
- blink
- breathe
- okay
- channel_change
- finish_effect
- stop_effect
supported_color_modes:
- brightness
effect:
color_mode: brightness
brightness: 76
friendly_name: Stehlampe Studio
supported_features: 44
state: 'on'
metadata:
light.0x04cd15fffe78a60e:
entity_only: true
light.stehlampestudio:
entity_only: true
- id: '1742734004379'
name: 'Studio: Dunkelheit'
entities:
@@ -297,12 +301,14 @@
name: Rollos Sonnenschutz Westseite
entities:
cover.bedroom_cover_l:
current_position: 28
current_position: 40
friendly_name: Schlafzimmer (links)
supported_features: 15
state: open
cover.bedroom_cover_r:
current_position: 28
current_position: 43
friendly_name: Schlafzimmer (rechts)
supported_features: 15
state: open
metadata:
cover.bedroom_cover_l:
@@ -310,3 +316,62 @@
cover.bedroom_cover_r:
entity_only: true
icon: mdi:roller-shade-closed
- id: '1746537887961'
name: 'Studio: Alles aus'
entities:
light.stehlampestudio:
effect_list:
- blink
- breathe
- okay
- channel_change
- finish_effect
- stop_effect
supported_color_modes:
- brightness
effect:
color_mode:
brightness:
friendly_name: Stehlampe Studio
supported_features: 44
state: 'off'
light.0x04cd15fffe78a60e:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
effect_list:
- blink
- breathe
- okay
- channel_change
- finish_effect
- stop_effect
- colorloop
- stop_colorloop
supported_color_modes:
- color_temp
- xy
effect:
color_mode:
brightness:
color_temp_kelvin:
color_temp:
hs_color:
rgb_color:
xy_color:
icon: mdi:television-ambient-light
friendly_name: Stimmungslicht
supported_features: 44
state: 'off'
switch.tv_studio:
icon: mdi:television-classic
friendly_name: TV
state: 'off'
metadata:
light.stehlampestudio:
entity_only: true
light.0x04cd15fffe78a60e:
entity_only: true
switch.tv_studio:
entity_only: true