scenes and automations
This commit is contained in:
@@ -1338,7 +1338,7 @@
|
|||||||
above: 20
|
above: 20
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.daily_forecast
|
entity_id: sensor.daily_forecast
|
||||||
above: 20
|
above: 19
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.sonnenschutz
|
entity_id: input_boolean.sonnenschutz
|
||||||
state: 'on'
|
state: 'on'
|
||||||
@@ -1346,10 +1346,10 @@
|
|||||||
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand'', ''last_triggered'').day==now().day
|
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand'', ''last_triggered'').day==now().day
|
||||||
}}'
|
}}'
|
||||||
alias: Wenn diese Automation heute noch nicht lief
|
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'')
|
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
|
||||||
< 60 }}'
|
< 72 }}'
|
||||||
alias: Wenn cloud_coverage < 60%
|
|
||||||
- alias: Bedingung für Rollo soll wieder hoch
|
- alias: Bedingung für Rollo soll wieder hoch
|
||||||
condition: and
|
condition: and
|
||||||
conditions:
|
conditions:
|
||||||
@@ -1394,7 +1394,9 @@
|
|||||||
- binary_sensor.0x00158d0007e40238_occupancy
|
- binary_sensor.0x00158d0007e40238_occupancy
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
conditions: []
|
conditions:
|
||||||
|
- condition: time
|
||||||
|
before: '22:00:00'
|
||||||
actions:
|
actions:
|
||||||
- action: light.turn_on
|
- action: light.turn_on
|
||||||
metadata: {}
|
metadata: {}
|
||||||
@@ -1426,10 +1428,10 @@
|
|||||||
- alias: Sonne zu weit im Westen
|
- alias: Sonne zu weit im Westen
|
||||||
entity_id:
|
entity_id:
|
||||||
- sun.sun
|
- sun.sun
|
||||||
attribute: azimuth
|
|
||||||
above: 180
|
above: 180
|
||||||
id: SonneWiederOkay
|
id: SonneWiederOkay
|
||||||
trigger: numeric_state
|
trigger: numeric_state
|
||||||
|
attribute: azimuth
|
||||||
conditions:
|
conditions:
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
@@ -1447,7 +1449,7 @@
|
|||||||
above: 12
|
above: 12
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.daily_forecast
|
entity_id: sensor.daily_forecast
|
||||||
above: 20
|
above: 19
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.sonnenschutz
|
entity_id: input_boolean.sonnenschutz
|
||||||
state: 'on'
|
state: 'on'
|
||||||
@@ -1455,10 +1457,10 @@
|
|||||||
condition: template
|
condition: template
|
||||||
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand_ostseite'',
|
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand_ostseite'',
|
||||||
''last_triggered'').day==now().day }}'
|
''last_triggered'').day==now().day }}'
|
||||||
- condition: template
|
- alias: Wenn cloud_coverage < 60% ist
|
||||||
|
condition: template
|
||||||
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
|
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
|
||||||
< 60 }}'
|
< 70 }}'
|
||||||
alias: Wenn cloud_coverage < 60% ist
|
|
||||||
- alias: Bedingung für Rollo soll wieder hoch
|
- alias: Bedingung für Rollo soll wieder hoch
|
||||||
condition: and
|
condition: and
|
||||||
conditions:
|
conditions:
|
||||||
@@ -1473,6 +1475,7 @@
|
|||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: cover.00115a498e0439
|
entity_id: cover.00115a498e0439
|
||||||
above: 60
|
above: 60
|
||||||
|
enabled: false
|
||||||
actions:
|
actions:
|
||||||
- alias: Rollos runter
|
- alias: Rollos runter
|
||||||
if: []
|
if: []
|
||||||
@@ -1481,6 +1484,8 @@
|
|||||||
metadata: {}
|
metadata: {}
|
||||||
data:
|
data:
|
||||||
position: 25
|
position: 25
|
||||||
|
target:
|
||||||
|
entity_id: cover.00115a498e0439
|
||||||
- alias: Rollos wieder hoch
|
- alias: Rollos wieder hoch
|
||||||
if:
|
if:
|
||||||
- condition: and
|
- condition: and
|
||||||
|
|||||||
107
scenes.yaml
Executable file → Normal file
107
scenes.yaml
Executable file → Normal file
@@ -188,14 +188,6 @@
|
|||||||
- id: '1741113836638'
|
- id: '1741113836638'
|
||||||
name: Studio Ambiente
|
name: Studio Ambiente
|
||||||
entities:
|
entities:
|
||||||
light.stehlampe_studio:
|
|
||||||
supported_color_modes:
|
|
||||||
- brightness
|
|
||||||
color_mode: brightness
|
|
||||||
brightness: 26
|
|
||||||
friendly_name: Stehlampe Studio
|
|
||||||
supported_features: 32
|
|
||||||
state: 'on'
|
|
||||||
light.0x04cd15fffe78a60e:
|
light.0x04cd15fffe78a60e:
|
||||||
min_color_temp_kelvin: 2000
|
min_color_temp_kelvin: 2000
|
||||||
max_color_temp_kelvin: 6535
|
max_color_temp_kelvin: 6535
|
||||||
@@ -219,28 +211,40 @@
|
|||||||
color_temp_kelvin:
|
color_temp_kelvin:
|
||||||
color_temp:
|
color_temp:
|
||||||
hs_color:
|
hs_color:
|
||||||
- 282.353
|
- 108.706
|
||||||
- 100
|
- 100
|
||||||
rgb_color:
|
rgb_color:
|
||||||
- 180
|
- 48
|
||||||
- 0
|
|
||||||
- 255
|
- 255
|
||||||
|
- 0
|
||||||
xy_color:
|
xy_color:
|
||||||
- 0.284
|
- 0.188
|
||||||
- 0.108
|
- 0.734
|
||||||
color:
|
|
||||||
x: 0.284
|
|
||||||
y: 0.108
|
|
||||||
color_power_on_behavior:
|
|
||||||
do_not_disturb:
|
|
||||||
linkquality: 255
|
|
||||||
icon: mdi:television-ambient-light
|
icon: mdi:television-ambient-light
|
||||||
friendly_name: Stimmungslicht
|
friendly_name: Stimmungslicht
|
||||||
supported_features: 44
|
supported_features: 44
|
||||||
state: 'on'
|
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:
|
metadata:
|
||||||
light.0x04cd15fffe78a60e:
|
light.0x04cd15fffe78a60e:
|
||||||
entity_only: true
|
entity_only: true
|
||||||
|
light.stehlampestudio:
|
||||||
|
entity_only: true
|
||||||
- id: '1742734004379'
|
- id: '1742734004379'
|
||||||
name: 'Studio: Dunkelheit'
|
name: 'Studio: Dunkelheit'
|
||||||
entities:
|
entities:
|
||||||
@@ -297,12 +301,14 @@
|
|||||||
name: Rollos Sonnenschutz Westseite
|
name: Rollos Sonnenschutz Westseite
|
||||||
entities:
|
entities:
|
||||||
cover.bedroom_cover_l:
|
cover.bedroom_cover_l:
|
||||||
current_position: 28
|
current_position: 40
|
||||||
friendly_name: Schlafzimmer (links)
|
friendly_name: Schlafzimmer (links)
|
||||||
|
supported_features: 15
|
||||||
state: open
|
state: open
|
||||||
cover.bedroom_cover_r:
|
cover.bedroom_cover_r:
|
||||||
current_position: 28
|
current_position: 43
|
||||||
friendly_name: Schlafzimmer (rechts)
|
friendly_name: Schlafzimmer (rechts)
|
||||||
|
supported_features: 15
|
||||||
state: open
|
state: open
|
||||||
metadata:
|
metadata:
|
||||||
cover.bedroom_cover_l:
|
cover.bedroom_cover_l:
|
||||||
@@ -310,3 +316,62 @@
|
|||||||
cover.bedroom_cover_r:
|
cover.bedroom_cover_r:
|
||||||
entity_only: true
|
entity_only: true
|
||||||
icon: mdi:roller-shade-closed
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user