savegame 2023-11-18
This commit is contained in:
757
automations.yaml
Executable file → Normal file
757
automations.yaml
Executable file → Normal file
@@ -1,3 +1,53 @@
|
||||
- id: '1653242475391'
|
||||
alias: '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:
|
||||
@@ -11,18 +61,6 @@
|
||||
title: ''
|
||||
initial_state: true
|
||||
mode: single
|
||||
- id: NonPresenceIroningSwitchOff
|
||||
alias: NonPresenceIroningSwitchOff
|
||||
trigger:
|
||||
- entity_id: group.all_mobile_devices
|
||||
from: home
|
||||
platform: state
|
||||
to: not_home
|
||||
action:
|
||||
- data:
|
||||
entity_id: switch.ieq0378957
|
||||
service: switch.turn_off
|
||||
initial_state: true
|
||||
- id: ZwaveTemperatureToHomematicTimed
|
||||
alias: ZwaveTemperatureToHomematicTimed
|
||||
trigger:
|
||||
@@ -48,21 +86,22 @@
|
||||
value: '{{states.sensor.neomulti4in1_humidity.state}}'
|
||||
initial_state: true
|
||||
- id: standlamp_on
|
||||
alias: Stehlampe ein
|
||||
alias: Stehlampe ein Abends
|
||||
description: ''
|
||||
trigger:
|
||||
- event: sunset
|
||||
offset: -00:20:00
|
||||
platform: sun
|
||||
action:
|
||||
- data:
|
||||
- service: light.turn_on
|
||||
data:
|
||||
transition: 10
|
||||
brightness_pct: 10
|
||||
entity_id: light.wzstehlampe
|
||||
transition: 5
|
||||
entity_id:
|
||||
- light.stehlampe
|
||||
- light.klampekuehlschrank
|
||||
- light.zylinder_wohnzimmer
|
||||
service: light.turn_on
|
||||
target:
|
||||
entity_id:
|
||||
- light.wzstehlampe
|
||||
- light.klampekuehlschrank
|
||||
- light.zylinder_wohnzimmer
|
||||
mode: single
|
||||
- id: standlamp_off
|
||||
alias: Stehlampe aus
|
||||
@@ -103,64 +142,70 @@
|
||||
entity_id: light.bodenlampe
|
||||
type: turn_off
|
||||
- id: HarmonyLivingroomSetInputselectToExternalStateChangeTimed
|
||||
alias: HarmonyLivingroomSetInputselectToExternalStateChangeTimed
|
||||
alias: 'TV: HarmonyLivingroomSetInputselectToExternalStateChangeTimed'
|
||||
description: ''
|
||||
trigger:
|
||||
platform: time_pattern
|
||||
- platform: time_pattern
|
||||
minutes: /2
|
||||
action:
|
||||
service: input_select.select_option
|
||||
- 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: HarmonyLivingroomSetInputselectToExternalStateChanged
|
||||
alias: 'TV: HarmonyLivingroomSetInputselectToExternalStateChanged'
|
||||
description: ''
|
||||
trigger:
|
||||
platform: state
|
||||
- platform: state
|
||||
entity_id: remote.harmony_hub_wohnzimmer
|
||||
action:
|
||||
service: input_select.select_option
|
||||
- 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: HarmonyLivingroomSetCurrentActivityToChangedInputselect
|
||||
alias: 'TV: HarmonyLivingroomSetCurrentActivityToChangedInputselect'
|
||||
description: ''
|
||||
trigger:
|
||||
platform: state
|
||||
- platform: state
|
||||
entity_id: input_select.living_room_tv
|
||||
action:
|
||||
service: script.turn_on
|
||||
- service: script.turn_on
|
||||
entity_id: script.input_select_harmony_living_room
|
||||
- id: HarmonyBedroomSetInputselectToExternalStateChanged
|
||||
alias: HarmonyBedroomSetInputselectToExternalStateChanged
|
||||
alias: 'TV: HarmonyBedroomSetInputselectToExternalStateChanged'
|
||||
description: ''
|
||||
trigger:
|
||||
platform: state
|
||||
- platform: state
|
||||
entity_id: remote.harmony_hub_schlafzimmer
|
||||
action:
|
||||
service: input_select.select_option
|
||||
- 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: HarmonyBedroomSetInputselectToExternalStateChangeTimed
|
||||
alias: 'TV: HarmonyBedroomSetInputselectToExternalStateChangeTimed'
|
||||
description: ''
|
||||
trigger:
|
||||
platform: time_pattern
|
||||
- platform: time_pattern
|
||||
minutes: /2
|
||||
action:
|
||||
service: input_select.select_option
|
||||
- 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: HarmonyBedroomSetCurrentActivityToChangedInputselect
|
||||
alias: 'TV: HarmonyBedroomSetCurrentActivityToChangedInputselect'
|
||||
description: ''
|
||||
trigger:
|
||||
platform: state
|
||||
- platform: state
|
||||
entity_id: input_select.bed_room_tv
|
||||
action:
|
||||
service: script.turn_on
|
||||
- service: script.turn_on
|
||||
entity_id: script.input_select_harmony_bed_room
|
||||
- id: OpenWindowEveningNotification
|
||||
alias: OpenWindowEveningNotification
|
||||
@@ -179,30 +224,18 @@
|
||||
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 -%}'
|
||||
- alias: Notify about phone state
|
||||
id: cac63d2f26884b86ae2ec785e249e8c2
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.phone
|
||||
action:
|
||||
- service: notify.pushover
|
||||
data:
|
||||
title: Phone
|
||||
message: '{% if is_state("sensor.phone", "ringing") %} Eingehender Anruf von
|
||||
{{ states.sensor.phone.attributes.from_name }} ({{ states.sensor.phone.attributes.from
|
||||
}}) {% endif %}'
|
||||
- id: kitchen_light_off_at_brightness
|
||||
alias: Küche aus bei Helligkeit
|
||||
alias: 'Aus: Lichter aus bei Helligkeit Morgens'
|
||||
trigger:
|
||||
- above: '800'
|
||||
entity_id: sensor.aeon_labs_zw074_multisensor_gen5_luminance
|
||||
entity_id: sensor.neomulti4in1_illuminance_lux
|
||||
platform: numeric_state
|
||||
condition: []
|
||||
action:
|
||||
- device_id: 528e131b5e274f58bb37a9d102283acb
|
||||
domain: light
|
||||
entity_id: light.klampekuehlschrank
|
||||
type: turn_off
|
||||
- service: light.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.klampekuehlschrank
|
||||
- id: update_notification
|
||||
alias: Update Available Notifications
|
||||
trigger:
|
||||
@@ -213,42 +246,11 @@
|
||||
data:
|
||||
title: Home Assistant Update
|
||||
message: Watch out! Update for Home Assistant is available.
|
||||
- id: '1549313817016'
|
||||
alias: TVBedroomSwitchOffPresenceBased
|
||||
trigger:
|
||||
- at: '9:00:00'
|
||||
platform: time
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.all_mobile_devices
|
||||
state: not_home
|
||||
action:
|
||||
- data:
|
||||
entity_id: switch.smartplug2
|
||||
service: switch.turn_off
|
||||
- id: '1549314090330'
|
||||
alias: TVBedroomSwitchOnTimeBased
|
||||
trigger:
|
||||
- at: '20:30:00'
|
||||
platform: time
|
||||
condition:
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: device_tracker.xperia_carmen
|
||||
state: home
|
||||
- condition: state
|
||||
entity_id: device_tracker.mia2basti
|
||||
state: home
|
||||
action:
|
||||
- data:
|
||||
entity_id: switch.smartplug2
|
||||
service: switch.turn_on
|
||||
- id: '1550446484812'
|
||||
alias: Küche Morgens
|
||||
alias: 'Morgens: Lichter ein'
|
||||
trigger:
|
||||
- hours: '5'
|
||||
minutes: '00'
|
||||
- hours: '4'
|
||||
minutes: '45'
|
||||
platform: time_pattern
|
||||
condition: []
|
||||
action:
|
||||
@@ -259,12 +261,12 @@
|
||||
- id: '1566136553211'
|
||||
alias: sonos_nachtmodus
|
||||
trigger:
|
||||
- at: '23:00'
|
||||
- at: '22:30:00'
|
||||
platform: time
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
volume_level: 0.05
|
||||
volume_level: 0.01
|
||||
service: media_player.volume_set
|
||||
target:
|
||||
entity_id: media_player.kuche
|
||||
@@ -313,43 +315,6 @@
|
||||
- cover.bedroom_cover_r
|
||||
- cover.00115a498e0439
|
||||
mode: single
|
||||
- id: '1577661091935'
|
||||
alias: Weihnachtsbeleuchtung Ein
|
||||
description: ''
|
||||
trigger:
|
||||
- event: sunset
|
||||
offset: -00:15:00
|
||||
platform: sun
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
entity_id: switch.smartplug3
|
||||
service: switch.turn_on
|
||||
- type: turn_on
|
||||
device_id: 1ca29332bdbb4af2afe3246cb0c8cef0
|
||||
entity_id: switch.smartplug1
|
||||
domain: switch
|
||||
- type: turn_on
|
||||
device_id: 8f967677acd571da0cc2f4762e5ea84b
|
||||
entity_id: switch.smartplug6
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1577661201952'
|
||||
alias: Weihnachtsbeleuchtung Aus
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '23:27'
|
||||
condition: []
|
||||
action:
|
||||
- data:
|
||||
entity_id: switch.smartplug3
|
||||
service: switch.turn_off
|
||||
- type: turn_off
|
||||
device_id: 1ca29332bdbb4af2afe3246cb0c8cef0
|
||||
entity_id: switch.smartplug1
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1579939003577'
|
||||
alias: Rollos hoch Sonnenaufgang
|
||||
description: ''
|
||||
@@ -373,7 +338,7 @@
|
||||
service: cover.open_cover
|
||||
mode: single
|
||||
- id: '1582149264429'
|
||||
alias: Alle Lichter aus bei Verlassen morgens
|
||||
alias: 'Aus: Lichter beim Verlassen morgens'
|
||||
description: ''
|
||||
trigger:
|
||||
- entity_id: group.all_mobile_devices
|
||||
@@ -396,7 +361,7 @@
|
||||
type: turn_off
|
||||
mode: single
|
||||
- id: '1590530631139'
|
||||
alias: DiskstationStartFuerBackup
|
||||
alias: 'Ein: Diskstation fuer Backup (Mittwochs)'
|
||||
description: Diskstation für Backup starten
|
||||
trigger:
|
||||
- at: '19:55'
|
||||
@@ -451,13 +416,15 @@
|
||||
für Alexa-Erreichbarkeit
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
hours: '*'
|
||||
minutes: /5
|
||||
seconds: '0'
|
||||
hours: '*'
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: '{{ states(''sensor.fritz_box_6490_cable_lgi_external_ip.state'')
|
||||
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:
|
||||
@@ -480,7 +447,7 @@
|
||||
message: blub
|
||||
mode: single
|
||||
- id: '1619867143833'
|
||||
alias: VDR bei TV-Aktivierung einschalten wenn aus
|
||||
alias: 'TV: VDR bei TV-Aktivierung einschalten wenn aus'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
@@ -494,6 +461,7 @@
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.vdr
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1627487138001'
|
||||
alias: NFC Tag BastiSchlafzimmer ist gescannt
|
||||
@@ -561,3 +529,520 @@
|
||||
- switch.run_script_musikstreamingstarten
|
||||
- switch.run_script_radiostarten
|
||||
mode: single
|
||||
- id: '1661800146764'
|
||||
alias: 'Kinderzimmer: Rollo runter bei Kälte oder Helligkeit'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.neomulti4in1_temperature
|
||||
condition: []
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.neomulti4in1_temperature
|
||||
below: '18'
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.neomulti4in1_illuminance_lux
|
||||
above: '50'
|
||||
sequence:
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 2
|
||||
target:
|
||||
entity_id: cover.00115a498e0439
|
||||
default: []
|
||||
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: '1663085252318'
|
||||
alias: 'Abwesenheit: TVs aus bei verlassen'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- group.all_mobile_devices
|
||||
from: home
|
||||
to: not_home
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.all_mobile_devices
|
||||
state: not_home
|
||||
action:
|
||||
- data: {}
|
||||
service: switch.turn_off
|
||||
target:
|
||||
entity_id:
|
||||
- switch.neq1809644
|
||||
- switch.tp_link_smart_plug_b251
|
||||
- switch.0xc4988600000f75a3
|
||||
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: '1665484519306'
|
||||
alias: 'Abwesenheit: Lichter & Geräte aus.'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- group.all_mobile_devices
|
||||
from: home
|
||||
to: not_home
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: group.all_mobile_devices
|
||||
state: not_home
|
||||
action:
|
||||
- service: light.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.aura_table_lamp
|
||||
- light.schlummerlicht
|
||||
area_id: kinderzimmer
|
||||
- service: switch.turn_off
|
||||
data: {}
|
||||
target:
|
||||
entity_id: switch.smartplug1
|
||||
area_id: 1d171e588f714f2f8bd7f2abdeb22a85
|
||||
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.neomulti4in1_illuminance_lux
|
||||
attribute: illuminance_lux
|
||||
below: 80
|
||||
action:
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 20
|
||||
target:
|
||||
entity_id:
|
||||
- cover.00115a498e0439
|
||||
- cover.bedroom_cover_l
|
||||
- cover.bedroom_cover_r
|
||||
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: ''
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
hours: '16'
|
||||
minutes: '30'
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: 943c6b2308bc1a2864bab0e091efed3a
|
||||
entity_id: switch.0xc4988600000fb820
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1669913660233'
|
||||
alias: 'Deko: WZ Weihnachtsstern aus'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
hours: '23'
|
||||
minutes: '21'
|
||||
seconds: '10'
|
||||
condition: []
|
||||
action:
|
||||
- delay:
|
||||
minutes: '{{ range(10, 21) | random }}'
|
||||
- type: turn_off
|
||||
device_id: 943c6b2308bc1a2864bab0e091efed3a
|
||||
entity_id: switch.0xc4988600000fb820
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1669925435788'
|
||||
alias: 'Deko: Weihnachtsstern Studio ein'
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time_pattern
|
||||
hours: '16'
|
||||
minutes: /6
|
||||
condition:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.neomulti4in1_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: 'Deko: 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
|
||||
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: 6
|
||||
actions:
|
||||
- service: notify.persistent_notification
|
||||
data:
|
||||
message: 'Battery low: {{sensors}}'
|
||||
time: '11:00:00'
|
||||
- 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: '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.tp_link_smart_plug_b251
|
||||
- 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: '1689434776158'
|
||||
alias: Bewegungsaktiviertes Licht Keller
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: homeassistant/motion_light.yaml
|
||||
input:
|
||||
motion_entity: binary_sensor.keller_aktivitat_occupancy
|
||||
light_target:
|
||||
entity_id: light.kellerlampe
|
||||
|
||||
Reference in New Issue
Block a user