Files
homeassistant-prod/automations.yaml
2025-05-21 18:56:48 +02:00

1533 lines
36 KiB
YAML

- id: '1653242475391'
alias: 'Zeit: Kinderzimmer Nacht Rollo Luft '
description: ''
trigger:
- platform: time
at: '23:54:00'
condition: []
action:
- service: cover.set_cover_position
data:
position: 16
target:
entity_id: cover.00115a498e0439
mode: single
- id: '1653947919724'
alias: 'Kinderzimmer Lüftung Rollo runter Sonnenaufgang '
description: ''
trigger:
- platform: sun
event: sunrise
offset: -0:50
condition: []
action:
- service: cover.set_cover_position
data:
position: 5
target:
entity_id: cover.00115a498e0439
enabled: false
- service: cover.close_cover
data: {}
target:
entity_id: cover.00115a498e0439
mode: single
- id: '1658175530468'
alias: 'Ein: Aida Ei'
description: ''
trigger:
- platform: sun
event: sunset
offset: +0:30
condition: []
action:
- service: light.turn_on
data:
color_name: red
brightness_pct: 5
target:
entity_id: light.aida_ei
mode: single
- id: MultisensorBatteryLowNotification
alias: MultisensorBatteryLowNotification
trigger:
- platform: numeric_state
entity_id: sensor.batt_multisensor
below: '40'
action:
- service: notify.pushover
data:
message: Time to change batteries of MultiSensor
title: ''
initial_state: true
mode: single
- id: ZwaveTemperatureToHomematicTimed
alias: 'Timed: Provide Humidity Aussen to Homematic'
description: ''
trigger:
- platform: time_pattern
minutes: /5
action:
- service: homematic.set_variable_value
data_template:
entity_id: homematic.ccu2
name: AussenTemp
value: '{{ states.sensor[''0x14b457fffe0bde4c_temperature''].state }}'
initial_state: true
- id: ZwaveHumidityToHomematicTimed
alias: 'Timed: Provide Temp Aussen to Homematic'
description: ''
trigger:
- platform: time_pattern
minutes: /5
action:
- service: homematic.set_variable_value
data_template:
entity_id: homematic.ccu2
name: ZWHumidity
value: '{{ states.sensor[''0x14b457fffe0bde4c_humidity''].state }}'
initial_state: true
- id: standlamp_on
alias: Stehlampe ein Abends
description: ''
trigger:
- event: sunset
offset: -00:20:00
platform: sun
action:
- service: light.turn_on
data:
transition: 10
brightness_pct: 10
target:
entity_id:
- light.wzstehlampe
- light.klampekuehlschrank
- light.zylinder_wohnzimmer
mode: single
- id: standlamp_off
alias: Stehlampe aus
trigger:
platform: time
at: '23:43:11'
action:
service: light.turn_off
entity_id:
- light.stehlampe
- light.lampe_kuche
data:
transition: 5
- id: HallwayLightSwitchOnSunsetBased
alias: HallwayLightSwitchOnSunsetBased
trigger:
- event: sunset
offset: 00:15:00
platform: sun
condition:
- condition: state
entity_id: input_boolean.baby_bed
state: 'off'
action:
- device_id: e872770fe15a488c9f5a5604b1ada0eb
domain: light
entity_id: light.bodenlampe
type: turn_on
mode: single
- id: HallwayLightSwitchOffEvening
alias: HallwayLightSwitchOffEvening
trigger:
- at: '23:49:11'
platform: time
action:
- device_id: e872770fe15a488c9f5a5604b1ada0eb
domain: light
entity_id: light.bodenlampe
type: turn_off
- id: HarmonyLivingroomSetInputselectToExternalStateChangeTimed
alias: 'TV: HarmonyLivingroomSetInputselectToExternalStateChangeTimed'
description: ''
trigger:
- platform: time_pattern
minutes: /2
action:
- service: input_select.select_option
data_template:
entity_id: input_select.living_room_tv
option: '{{ states.remote.harmony_hub_wohnzimmer.attributes.current_activity
}}'
- id: HarmonyLivingroomSetInputselectToExternalStateChanged
alias: 'TV: HarmonyLivingroomSetInputselectToExternalStateChanged'
description: ''
trigger:
- platform: state
entity_id: remote.harmony_hub_wohnzimmer
action:
- service: input_select.select_option
data_template:
entity_id: input_select.living_room_tv
option: '{{ states.remote.harmony_hub_wohnzimmer.attributes.current_activity
}}'
- id: HarmonyLivingroomSetCurrentActivityToChangedInputselect
alias: 'TV: HarmonyLivingroomSetCurrentActivityToChangedInputselect'
description: ''
trigger:
- platform: state
entity_id: input_select.living_room_tv
action:
- service: script.turn_on
entity_id: script.input_select_harmony_living_room
- id: HarmonyBedroomSetInputselectToExternalStateChanged
alias: 'TV: HarmonyBedroomSetInputselectToExternalStateChanged'
description: ''
trigger:
- platform: state
entity_id: remote.harmony_hub_schlafzimmer
action:
- service: input_select.select_option
data_template:
entity_id: input_select.bed_room_tv
option: '{{ states.remote.harmony_hub_schlafzimmer.attributes.current_activity
}}'
- id: HarmonyBedroomSetInputselectToExternalStateChangeTimed
alias: 'TV: HarmonyBedroomSetInputselectToExternalStateChangeTimed'
description: ''
trigger:
- platform: time_pattern
minutes: /2
action:
- service: input_select.select_option
data_template:
entity_id: input_select.bed_room_tv
option: '{{ states.remote.harmony_hub_schlafzimmer.attributes.current_activity
}}'
- id: HarmonyBedroomSetCurrentActivityToChangedInputselect
alias: 'TV: HarmonyBedroomSetCurrentActivityToChangedInputselect'
description: ''
trigger:
- platform: state
entity_id: input_select.bed_room_tv
action:
- service: script.turn_on
entity_id: script.input_select_harmony_bed_room
- id: OpenWindowEveningNotification
alias: OpenWindowEveningNotification
trigger:
platform: time
at: '23:00:00'
action:
service: notify.pushover
data_template:
title: Offene Fenster
message: '{% for device in dict(states.sensor|groupby(''state''))[''open'']
-%} {{ device.name|replace("Fenster ","") }} {%- endfor -%} {% for device
in dict(states.sensor|groupby(''state''))[''tilted''] -%} {{ device.name }}
{%- endfor -%} {%- if dict(states.binary_sensor|groupby(''state''))[''on'']|length
> 0 and dict(states.sensor|groupby(''state''))[''open'']|length>0 -%}, {%-
endif %} {%- for device in dict(states.binary_sensor|groupby(''state''))[''on'']
-%} {% if device.name and device.name.startswith(''Fenster'') or device.name.startswith(''Haus'')
%} {{ device.name|replace("Fenster ","") }} {%- endif -%} {%- endfor -%}'
- id: kitchen_light_off_at_brightness
alias: 'Aus: Lichter aus bei Helligkeit Morgens'
trigger:
- above: '800'
entity_id: sensor.0x14b457fffe0bde4c_illuminance_lux
platform: numeric_state
condition: []
action:
- service: light.turn_off
data: {}
target:
entity_id: light.klampekuehlschrank
- id: update_notification
alias: Update Available Notifications
trigger:
platform: state
entity_id: updater.updater
action:
service: notify.pushover
data:
title: Home Assistant Update
message: Watch out! Update for Home Assistant is available.
- id: '1550446484812'
alias: 'Morgens: Lichter ein'
trigger:
- hours: '4'
minutes: '45'
platform: time_pattern
condition: []
action:
- device_id: 528e131b5e274f58bb37a9d102283acb
domain: light
entity_id: light.klampekuehlschrank
type: turn_on
- id: '1566136553211'
alias: sonos_nachtmodus
trigger:
- at: '19:30:00'
platform: time
condition: []
action:
- data:
volume_level: 0.01
service: media_player.volume_set
target:
entity_id: media_player.kuche
- id: '1566136633830'
alias: sonos_tagmodus
trigger:
- at: '6:15'
platform: time
condition: []
action:
- data:
volume_level: 0.07
service: media_player.volume_set
target:
entity_id: media_player.kuche
- id: '1576823443552'
alias: Rollo hoch Licht
description: ''
trigger:
- above: '800'
entity_id: sensor.aeon_labs_zw074_multisensor_gen5_luminance
platform: numeric_state
condition: []
action:
- data:
entity_id: group.all_covers
service: cover.open_cover
- id: '1576823503380'
alias: Rollo runter Sonnenuntergang
description: ''
trigger:
- event: sunset
offset: +0:05
platform: sun
condition:
- condition: state
entity_id: input_boolean.baby_bed
state: 'off'
action:
- data:
position: 20
service: cover.set_cover_position
target:
entity_id:
- cover.bedroom_cover_l
- cover.bedroom_cover_r
- cover.00115a498e0439
mode: single
- id: '1582149264429'
alias: 'Aus: Lichter beim Verlassen morgens'
description: ''
trigger:
- entity_id: group.all_mobile_devices
from: home
platform: state
to: not_home
- at: '8:45'
platform: time
condition:
- condition: time
before: '9:00'
action:
- device_id: e872770fe15a488c9f5a5604b1ada0eb
domain: light
entity_id: light.bodenlampe
type: turn_off
- device_id: 528e131b5e274f58bb37a9d102283acb
domain: light
entity_id: light.klampekuehlschrank
type: turn_off
mode: single
- id: '1590530631139'
alias: 'Ein: Diskstation fuer Backup (Mittwochs)'
description: Diskstation für Backup starten
trigger:
- at: '19:55'
platform: time
condition:
- condition: time
weekday: wed
action:
- data: {}
entity_id: switch.diskstation
service: switch.turn_on
mode: single
- id: '1606779292835'
alias: TrinkbrunnenPatternEin
description: ''
trigger:
- platform: time_pattern
hours: /2
minutes: '2'
seconds: '0'
condition:
- condition: time
after: '5:30'
before: '23:00'
action:
- type: turn_on
device_id: 23fa59564a94277011906429fd0feb2e
entity_id: switch.smartplug5
domain: switch
mode: single
- id: '1606779292855'
alias: TrinkbrunnenPatternAus
description: ''
trigger:
- platform: time_pattern
hours: /2
seconds: '0'
minutes: '44'
condition:
- condition: time
after: '5:30'
before: '23:00'
action:
- type: turn_off
device_id: 23fa59564a94277011906429fd0feb2e
entity_id: switch.smartplug5
domain: switch
mode: single
- id: '1607164189976'
alias: DNS Check
description: Alle 5 Minuten checken, ob DNS und Fritz IP übereinstimmen (Voraussetzung
für Alexa-Erreichbarkeit
trigger:
- platform: time_pattern
minutes: /5
hours: '*'
condition:
- condition: template
value_template: '{{ states(''sensor.fritz_box_6490_cable_lgi_externe_ip.state'')
!= states(''bb2k34f24w8jtpg2_homeee_schnorbus_net.state'') }}'
- condition: state
entity_id: input_boolean.dnsreportsent
state: 'off'
action:
- service: notify.pushover
data:
message: IP stimmt nicht mehr -> DNS updaten
title: DNS Check
mode: single
- id: '1614029930763'
alias: test
description: ''
trigger:
- platform: time_pattern
seconds: /30
condition:
- condition: state
entity_id: input_boolean.vacation_mode
state: 'off'
action:
- service: notify.pushover
data:
message: blub
mode: single
- id: '1619867143833'
alias: 'TV: VDR bei TV-Aktivierung einschalten wenn aus'
description: ''
trigger:
- platform: state
entity_id: input_select.living_room_tv
to: Fernsehen
condition:
- condition: state
entity_id: switch.vdr
state: 'off'
action:
- service: switch.turn_on
target:
entity_id: switch.vdr
data: {}
mode: single
- id: '1627487138001'
alias: NFC Tag BastiSchlafzimmer ist gescannt
description: ''
trigger:
- platform: tag
tag_id: 93480283-b090-4d2d-9d74-92aedc5f796b
- platform: tag
tag_id: f8a8e7d1-4b41-4db2-b358-5028c7084d15
condition: []
action:
- service: notify.mobile_app_pixel_6a
data:
message: Schlaf schön
- scene: scene.schlafenszeit
mode: single
- id: '1627567078221'
alias: NFC Tag SchreibtischStudio ist gescannt
description: ''
trigger:
- platform: tag
tag_id: ef867548-5345-4ea9-a54e-3d8a447bab51
condition: []
action:
- service: switch.turn_on
target:
entity_id: switch.tp_link_smart_plug_b251
mode: single
- id: '1633454005094'
alias: Reset Baby im Bett
description: Baby im Bett morgens resetten
trigger:
- platform: time
at: 06:00
condition: []
action:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.baby_bed
mode: single
- id: '1647203893473'
alias: Reset Scene Script Schalter
description: ''
trigger:
- platform: state
entity_id: switch.run_script_fernsehschauen
to: 'on'
- platform: state
entity_id: switch.run_script_streamingstarten
to: 'on'
- platform: state
entity_id: switch.run_script_musikstreamingstarten
to: 'on'
- platform: state
entity_id: switch.run_script_radiostarten
to: 'on'
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.run_script_fernsehschauen
- switch.run_script_streamingstarten
- switch.run_script_musikstreamingstarten
- switch.run_script_radiostarten
mode: single
- id: '1662547547972'
alias: 'Aus: Aida Ei, Aura Lampe (Zeit/Sonne)'
description: ''
trigger:
- platform: time
at: 07:00:00
- platform: sun
event: sunrise
offset: '+30'
- platform: time
at: 08:00:00
condition: []
action:
- service: light.turn_off
data: {}
target:
entity_id:
- light.aura_table_lamp
- light.aida_ei
mode: single
- id: '1658352177825'
alias: 'Webhook: Rollo Kinderzimmer schliessen'
description: Webhook für IFTTT um auf Alexa zu reagieren
trigger:
- platform: webhook
webhook_id: webhook-x7sygKA7ptuSGF4mdpZK6xIS
allowed_methods:
- POST
- PUT
local_only: false
condition: []
action:
- service: notify.pushover
data:
message: Webhook triggered
- service: cover.set_cover_position
data:
position: 10
target:
entity_id: cover.00115a498e0439
mode: single
- id: '1659035206672'
alias: Webhook - Lampe Esstisch ein
description: ''
trigger:
- platform: webhook
webhook_id: webhook-lampe-esstisch-ein-BBlMW3-bMn3m6G-OrMWd72np
allowed_methods:
- POST
- PUT
local_only: false
condition: []
action:
- service: light.turn_on
data:
transition: 3
brightness_pct: 50
target:
entity_id: light.peq1195568
mode: single
- id: '1665853168244'
alias: 'Webhook: TV ein'
description: ''
trigger:
- platform: webhook
webhook_id: webhook-UTooHpc61R3Uh6yhlt_UzJWb
allowed_methods:
- POST
- PUT
local_only: false
condition: []
action:
- service: notify.pushover
data:
message: Webhook triggered
- service: scene.turn_on
target:
entity_id: scene.fernsehschauen
metadata: {}
mode: single
- id: '1666468577446'
alias: 'Abends: Rollos fast runter bei Dunkelheit'
description: ''
trigger:
- platform: time_pattern
minutes: /5
condition:
- condition: time
after: '16:00:00'
- condition: numeric_state
entity_id: cover.00115a498e0439
attribute: current_position
above: 70
- condition: numeric_state
entity_id: sensor.0x14b457fffe0bde4c_illuminance_lux
below: 350
action:
- data:
position: 20
target:
entity_id:
- cover.00115a498e0439
- cover.bedroom_cover_l
- cover.bedroom_cover_r
action: cover.set_cover_position
mode: single
- id: '1666731752157'
alias: 'Morgens: Kinderzimmer Lampe an'
description: Aura Lampe zum Wecken morgens
trigger:
- platform: time
at: 07:09:00
condition: []
action:
- service: light.turn_on
data:
effect: Fishtank
transition: 13
target:
entity_id: light.aura_table_lamp
mode: single
- id: '1669209963082'
alias: 'Abends: Rollo ganz runter um 21:30'
description: ''
trigger:
- platform: time
at: '21:30:00'
condition:
- condition: sun
after: sunset
action:
- service: cover.set_cover_position
data:
position: 15
mode: single
- id: '1669913615090'
alias: 'Deko: Weihnachtsstern WZ ein'
description: ''
triggers:
- hours: '16'
minutes: '30'
trigger: time_pattern
conditions: []
actions:
- action: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.tasmota
mode: single
- id: '1669913660233'
alias: 'Deko: WZ Weihnachtsstern aus'
description: ''
triggers:
- hours: '23'
minutes: '21'
seconds: '10'
trigger: time_pattern
conditions: []
actions:
- delay:
minutes: '{{ range(10, 21) | random }}'
- action: switch.turn_off
metadata: {}
data: {}
target:
entity_id: switch.tasmota
mode: single
- id: '1669925435788'
alias: 'Zeit: Weihnachtsstern Studio ein'
description: ''
trigger:
- platform: time_pattern
hours: '16'
minutes: /6
condition:
- condition: numeric_state
entity_id: sensor.0x14b457fffe0bde4c_illuminance_lux
attribute: illuminance_lux
below: 200
action:
- type: turn_on
device_id: f4c163f600b540628bdf34fbdc6fac2e
entity_id: switch.smartplug2
domain: switch
mode: single
- id: '1669925528967'
alias: 'Zeit: Weihnachtsstern Studio aus'
description: ''
trigger:
- platform: time
at: '23:10:00'
condition: []
action:
- type: turn_off
device_id: f4c163f600b540628bdf34fbdc6fac2e
entity_id: switch.smartplug2
domain: switch
- service: switch.turn_off
target:
entity_id: switch.0xf0d1b8be24094ecd
data: {}
mode: single
- id: '1673124529316'
alias: Low battery level detection & notification for all battery sensors
description: ''
use_blueprint:
path: sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml
input:
day: 0
actions:
- action: notify.pushover
metadata: {}
data:
title: Batterie
message: 'Batterie wechseln: {{sensors}}'
time: '17:00:00'
threshold: 80
exclude:
entity_id:
- sensor.btv_w09_battery_level
- sensor.sm_a505fn_battery_level
- sensor.ipad_von_bastian_battery_level
- sensor.iphone_battery_level
- sensor.pixel_8_battery_level
- id: '1676665076953'
alias: 'Schlafzimmer: TV an bei Anwesenheit Abends'
description: ''
trigger:
- platform: time
at: '21:20:00'
condition:
- condition: state
entity_id: group.all_mobile_devices
state: home
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.0xc4988600000f75a3
mode: single
- id: '1676665159531'
alias: 'Schlafzimmer: TV aus Nachts'
description: ''
trigger:
- platform: time
at: 00:20:00
condition: []
action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.0xc4988600000f75a3
mode: single
- id: '1679422560183'
alias: 'Zeit: Studio Abends aus bei Abwesenheit'
description: ''
trigger:
- platform: time_pattern
hours: '19'
minutes: /30
seconds: '00'
- platform: time_pattern
hours: '20'
minutes: /15
- platform: time_pattern
hours: '21'
minutes: /15
condition:
- condition: state
entity_id: binary_sensor.bewegung_studio_occupancy_delayed_off
state: 'off'
for:
hours: 0
minutes: 10
seconds: 0
action:
- service: switch.turn_off
data: {}
target:
entity_id:
- switch.smartplug1
- switch.tv_studio
- service: light.turn_off
data:
transition: 14
target:
entity_id:
- light.0x04cd15fffe78a60e
- light.stehlampe_studio
mode: single
- id: '1679573420341'
alias: 'Studio: Licht ein bei Bewegung in Dunkelheit'
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.bewegung_studio_occupancy_delayed_off
from: 'off'
to: 'on'
condition:
- condition: numeric_state
entity_id: sensor.bewegung_studio_illuminance_lux
attribute: illuminance_lux
below: 50
action:
- service: light.turn_on
data:
transition: 20
rgb_color:
- 0
- 189
- 22
brightness_pct: 24
target:
entity_id: light.0x04cd15fffe78a60e
mode: single
- id: '1679573943226'
alias: 'Studio: Home office enabled'
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.homeoffice
from: 'off'
to: 'on'
for:
hours: 0
minutes: 0
seconds: 0
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.tp_link_smart_plug_b251
- if:
- condition: numeric_state
entity_id: sensor.bewegung_studio_illuminance_lux
attribute: illuminance_lux
below: 59.2
then:
- service: light.turn_on
data:
rgb_color:
- 129
- 120
- 247
target:
entity_id: light.0x04cd15fffe78a60e
- service: light.turn_on
data:
transition: 5
brightness_pct: 19
target:
entity_id: light.stehlampe_studio
mode: single
- id: '1681079300007'
alias: 'Morgens: TV ein '
description: ''
trigger:
- platform: time
at: 06:55:00
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.0xc4988600000f75a3
mode: single
- id: '1682840484924'
alias: 'Alert: Rollos nicht verfügbar'
description: ''
trigger:
- platform: time_pattern
minutes: /2
condition:
- condition: state
entity_id: input_boolean.alertingrollos
state: 'off'
- condition: or
conditions:
- condition: state
entity_id: cover.00115a498e0439
state: unavailable
for:
hours: 0
minutes: 0
seconds: 15
- condition: state
entity_id: cover.bedroom_cover_l
state: unavailable
for:
hours: 0
minutes: 0
seconds: 15
- condition: state
entity_id: cover.bedroom_cover_r
state: unavailable
for:
hours: 0
minutes: 0
seconds: 15
- condition: state
entity_id: cover.bedroom_cover_l
state: unknown
for:
hours: 0
minutes: 0
seconds: 15
- condition: state
entity_id: cover.bedroom_cover_r
state: unknown
for:
hours: 0
minutes: 0
seconds: 15
action:
- service: notify.pushover
data:
message: Rollo nicht verfügbar
title: Alert
data:
priority: 1
- service: input_boolean.turn_on
data: {}
target:
entity_id: input_boolean.alertingrollos
- service: notify.persistent_notification
data:
title: Alert
message: 'Eins der Rollos ist nicht verfügbar '
mode: single
- id: '1682842740198'
alias: 'Reset: Inputhelper at midnight'
description: ''
trigger:
- platform: time
at: 00:01:00
condition: []
action:
- service: input_boolean.turn_off
data: {}
target:
entity_id:
- input_boolean.homeoffice
- input_boolean.alertingrollos
- input_boolean.dnsreportsent
mode: single
- id: '1700947981382'
alias: 'Zeit: Reset Heizung'
description: ''
trigger:
- platform: time
at: '22:34:00'
condition: []
action:
- service: climate.set_preset_mode
data:
preset_mode: auto
target:
entity_id: climate.peq1457703
mode: single
- id: '1702159176908'
alias: Helligkeit - Weihnachtsstern Terrasse ein
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.0x14b457fffe0bde4c_illuminance_lux
for:
hours: 0
minutes: 0
seconds: 30
attribute: illuminance_lux
below: '400'
condition: []
action:
- service: switch.turn_on
target:
entity_id: switch.0xf0d1b8be24094ecd
data: {}
mode: single
- id: '1702568645110'
alias: Helligkeit - Bodenlampe Flur einschalten
description: ''
trigger:
- platform: numeric_state
entity_id:
- sensor.0x14b457fffe0bde4c_illuminance_lux
attribute: illuminance_lux
below: 50
condition: []
action:
- service: light.turn_on
target:
entity_id: light.bodenlampe
data:
brightness_pct: 4
mode: single
- id: '1704873252946'
alias: 'Timer: Lüften'
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.neq0627526_state
to: 'on'
- platform: state
entity_id:
- binary_sensor.neq0632846_state
to: 'on'
condition:
- condition: state
entity_id: binary_sensor.neq0632846_state
state: 'on'
- condition: state
entity_id: binary_sensor.neq0627526_state
state: 'on'
action:
- service: timer.start
metadata: {}
data: {}
target:
entity_id: timer.fensterlueften
mode: single
- id: '1707239595814'
alias: 'Temperatur: Rollo ganz wenn kalt'
description: Rollos werden um 18:30 ganz runter gefahren, wenn Aussentemperatur
unter 10 Grad.
trigger:
- platform: time
at: '19:06:00'
condition:
- condition: numeric_state
entity_id: sensor.0x14b457fffe0bde4c_temperature
below: 10
- condition: numeric_state
entity_id: cover.00115a498e0439
below: 50
attribute: current_position
action:
- service: cover.close_cover
metadata: {}
data: {}
target:
entity_id:
- cover.00115a498e0439
- cover.bedroom_cover_r
- cover.bedroom_cover_l
mode: single
- id: '1708199197494'
alias: 'Assist: Fenster offen'
description: ''
trigger:
- platform: conversation
command: Sind noch Fenster auf
condition: []
action:
- set_conversation_response: 'Es sind folgende Fenster auf: {{ expand(''binary_sensor.allefenster'')
| selectattr(''state'' , ''eq'' , ''on'') | map(attribute=''name'') | list |
join('', '')}}'
mode: single
- id: '1709071431998'
alias: 'Anwesenheit: TV im Schlafzimmer wieder ein'
description: ''
trigger:
- platform: state
entity_id:
- group.all_mobile_devices
from: not_home
to: home
condition: []
action:
- service: switch.turn_on
metadata: {}
data: {}
target:
entity_id: switch.innrpowerplugtv
mode: single
- id: '1712162921511'
alias: 'Zeit: Rollos runter kurz vor 19h für Joel'
description: ''
triggers:
- at: '18:28:00'
trigger: time
- trigger: numeric_state
entity_id:
- sensor.0x14b457fffe0bde4c_illuminance_lux
attribute: illuminance_lux
below: 200
conditions:
- condition: state
entity_id: input_boolean.baby_bed
state: 'off'
- condition: and
conditions:
- condition: time
after: '16:00:00'
before: '18:29:00'
actions:
- data:
position: 0
target:
entity_id:
- cover.bedroom_cover_l
- cover.bedroom_cover_r
- cover.00115a498e0439
action: cover.set_cover_position
mode: single
- id: '1713246439689'
alias: 'Abwesenheit Basti: Gästezimmer aus'
description: ''
trigger:
- platform: state
entity_id:
- person.basti
from: home
to: not_home
for:
hours: 0
minutes: 5
seconds: 0
condition: []
action:
- service: switch.turn_off
metadata: {}
data: {}
target:
area_id:
- gastezimmer
mode: single
- id: '1719646524245'
alias: 'Notification Batterie: Waterleak 1'
description: ''
trigger:
- type: bat_low
platform: device
device_id: 1d51b269058565e0d398d6ba2cf72d92
entity_id: 09136a4298d4cf1a4cbd97860dd0c4e3
domain: binary_sensor
condition: []
action:
- service: notify.pushover
data:
message: Batterie Waterleak Sensor Dach sollte gewechselt werden!
title: Batterie
mode: single
- id: '1719646620338'
alias: 'Notification Waterleak: Dachgeschoss'
description: ''
trigger:
- type: moist
platform: device
device_id: 1d51b269058565e0d398d6ba2cf72d92
entity_id: 1db3af5c393b63b6f94527d9d780f3ee
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 10
condition: []
action:
- service: notify.pushover
metadata: {}
data:
title: Alarm!
message: Feuchtigkeit erkannt! Dachgeschoss!
mode: single
- id: '1720361018336'
alias: 'Zeit: Staubsauger aufladen starten'
description: ''
triggers:
- at: 06:00:00
trigger: time
conditions: []
actions:
- action: switch.turn_on
target:
entity_id: switch.steckdosestaubsauger
data: {}
mode: single
- id: '1720361062467'
alias: Staubsauger aufladen beenden
description: ''
triggers:
- type: power
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: 0787189732ed6dda5e4a284573275121
domain: sensor
trigger: device
below: 1
for:
hours: 0
minutes: 3
seconds: 0
conditions:
- condition: device
type: is_on
device_id: 4b84ac444cb9bde105e75a18db6b0ac5
entity_id: a47844873a186b57bb2e5392b4c7dbde
domain: switch
actions:
- data: {}
action: switch.turn_off
target:
entity_id: switch.steckdosestaubsauger
mode: single
- id: '1720388603797'
alias: 'Notification Waterleak: Keller'
description: ''
trigger:
- type: moist
platform: device
device_id: 746ac7711a82ac47508649cecc31c54e
entity_id: e524c640f26bc55c596e7ba9fcd2520e
domain: binary_sensor
condition: []
action:
- service: notify.pushover
metadata: {}
data:
title: Alarm!
message: Feuchtigkeit erkannt! Keller!
mode: single
- id: '1720388684792'
alias: 'Notification Batterie: Waterleak 2'
description: ''
trigger:
- type: bat_low
platform: device
device_id: 746ac7711a82ac47508649cecc31c54e
entity_id: 4b637e04a44c9afde24d1ce4b748241a
domain: binary_sensor
condition: []
action:
- service: notify.pushover
data:
message: Batterie Waterleak Sensor Keller sollte gewechselt werden!
title: Batterie
mode: single
- id: '1733045381848'
alias: 'Alert: Basti Zone Zuhause'
description: ''
use_blueprint:
path: homeassistant/notify_leaving_zone.yaml
input:
person_entity: person.basti
zone_entity: zone.home
notify_device: 7b941af31d01cc04f5032cd6d9907c01
- id: '1733045716382'
alias: 'Alert: Auto auf und alle Zuhause'
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.audi_a4_avant_doors_trunk_state
from: 'off'
to: 'on'
for:
hours: 0
minutes: 0
seconds: 10
conditions:
- condition: state
entity_id: person.basti
state: home
- condition: state
entity_id: person.carmen
state: home
actions:
- action: notify.mobile_app_pixel_8
metadata: {}
data:
title: Auto
message: Auto nicht abgeschlossen
- action: notify.mobile_app_sm_a505fn
metadata: {}
data:
message: Auto nicht abgeschlossen
title: Auto
mode: single
- id: '1742926888779'
alias: Motion-activated Light with Conditions, Exceptions, Optional Settings, and
Sun Offset
description: ''
use_blueprint:
path: iainsmacleod/advanced_motion_automation.yaml
input:
motion_sensors:
- binary_sensor.studio_anwesenheit
light_targets:
entity_id:
- light.stehlampe_studio
- light.0x04cd15fffe78a60e
use_custom_settings: true
sun_condition: night
brightness: 71
- id: '1743851763184'
alias: Rollo Sonnenstand Westseite
description: Rollo abhängig vom Sonnenstand auf der Schlafzimmerseite
triggers:
- alias: Check alle 10 Minuten
minutes: /10
trigger: time_pattern
- alias: Sonne zu weit im Westen
entity_id:
- sun.sun
attribute: azimuth
above: 270
id: SonneWiederOkay
trigger: numeric_state
conditions:
- condition: or
conditions:
- alias: Bedingungen für Rollo muss runter
condition: and
conditions:
- condition: numeric_state
entity_id: sun.sun
attribute: azimuth
above: 195
below: 270
- condition: numeric_state
entity_id: sun.sun
attribute: elevation
above: 20
- condition: numeric_state
entity_id: sensor.daily_forecast
above: 19
- condition: state
entity_id: input_boolean.sonnenschutz
state: 'on'
- condition: template
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand'', ''last_triggered'').day==now().day
}}'
alias: Wenn diese Automation heute noch nicht lief
- alias: Wenn cloud_coverage < 60%
condition: template
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
< 72 }}'
- alias: Bedingung für Rollo soll wieder hoch
condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
- condition: template
value_template: '{{ state_attr(''automation.automation.rollo_sonnenstand'',
''last_triggered'').day==now().day }}'
- condition: time
before: '18:28:00'
actions:
- alias: Rollos runter
if: []
then:
- metadata: {}
action: scene.turn_on
data: {}
target:
entity_id: scene.rollos_sonnenschutz_westseite
- alias: Rollos wieder hoch
if:
- condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 84
target:
entity_id:
- cover.bedroom_cover_l
- cover.bedroom_cover_r
mode: single
- id: '1745431124239'
alias: 'Bewegung: Keller Licht'
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.0x00158d0007e40238_occupancy
from: 'off'
to: 'on'
conditions:
- condition: time
before: '22:00:00'
actions:
- action: light.turn_on
metadata: {}
data:
brightness_pct: 75
transition: 4
target:
entity_id: light.kellerlampe
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- action: light.turn_on
metadata: {}
data:
transition: 3
brightness_pct: 10
target:
entity_id: light.kellerlampe
mode: single
- id: '1746202741633'
alias: Rollo Sonnenstand Ostseite
description: Rollo abhängig vom Sonnenstand auf der Kinderzimmerseite
triggers:
- alias: Check alle 10 Minuten
minutes: /10
trigger: time_pattern
- alias: Sonne zu weit im Westen
entity_id:
- sun.sun
above: 180
id: SonneWiederOkay
trigger: numeric_state
attribute: azimuth
conditions:
- condition: or
conditions:
- alias: Bedingungen für Rollo muss runter
condition: and
conditions:
- condition: numeric_state
entity_id: sun.sun
attribute: azimuth
above: 80
below: 180
- condition: numeric_state
entity_id: sun.sun
attribute: elevation
above: 12
- condition: numeric_state
entity_id: sensor.daily_forecast
above: 19
- condition: state
entity_id: input_boolean.sonnenschutz
state: 'on'
- alias: Wenn diese Automation heute noch nicht lief
condition: template
value_template: ' {{ not state_attr(''automation.rollo_sonnenstand_ostseite'',
''last_triggered'').day==now().day }}'
- alias: Wenn cloud_coverage < 60% ist
condition: template
value_template: '{{ state_attr(''sensor.daily_forecast'', ''cloud_coverage'')
< 70 }}'
- alias: Bedingung für Rollo soll wieder hoch
condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
- alias: Wenn diese Automation heute schon lief
condition: template
value_template: '{{ state_attr(''automation.automation.rollo_sonnenstand_ostseite'',
''last_triggered'').day==now().day }}'
- condition: time
after: 07:00:00
- condition: numeric_state
entity_id: cover.00115a498e0439
above: 60
enabled: false
actions:
- alias: Rollos runter
if: []
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 25
target:
entity_id: cover.00115a498e0439
- alias: Rollos wieder hoch
if:
- condition: and
conditions:
- condition: trigger
id: SonneWiederOkay
then:
- action: cover.set_cover_position
metadata: {}
data:
position: 84
target:
entity_id: cover.00115a498e0439
mode: single
- id: '1746267440046'
alias: 'Anwesenheit: Alles aus wenn niemand zuhaus'''
description: ''
triggers:
- trigger: state
entity_id:
- group.all_mobile_devices
to: not_home
from: home
for:
hours: 0
minutes: 5
seconds: 0
conditions: []
actions:
- action: scene.turn_on
metadata: {}
data: {}
target:
entity_id: scene.schlafenszeit
- action: switch.turn_off
data: {}
target:
entity_id: switch.tv_studio
- action: light.turn_off
target:
area_id: 1d171e588f714f2f8bd7f2abdeb22a85
data:
transition: 5
mode: single