Initial Commit
This commit is contained in:
@@ -0,0 +1,519 @@
|
||||
- id: '1725613486677'
|
||||
alias: Notify - Auto Backup
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: jcwillox/notify_auto_backup.yaml
|
||||
input:
|
||||
devices:
|
||||
- 00a3c80aa7d8dc3f89e6764f82d92f7e
|
||||
notify_hass: true
|
||||
only_after: 09:00:00
|
||||
only_before: '21:00:00'
|
||||
- id: '1725613591824'
|
||||
alias: Automatic Backups
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: jcwillox/automatic_backups.yaml
|
||||
input:
|
||||
backup_action:
|
||||
- data:
|
||||
name: '{{ name }}'
|
||||
password: '{{ password }}'
|
||||
keep_days: '{{ keep_days }}'
|
||||
include_folders:
|
||||
- config
|
||||
action: auto_backup.backup
|
||||
- id: '1729087449006'
|
||||
alias: Staubsauger Zimmer resetieren
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: event
|
||||
event_type: deepbot_cleaning_job
|
||||
event_data:
|
||||
status: finished
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- vacuum.obi_wan_cleanobi
|
||||
from:
|
||||
to: docked
|
||||
enabled: true
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 10
|
||||
seconds: 0
|
||||
conditions: []
|
||||
actions:
|
||||
- alias: Reset room queue
|
||||
data:
|
||||
value: ''
|
||||
action: input_text.set_value
|
||||
target:
|
||||
entity_id: input_text.deebot_obi_wan_cleanobi_queue
|
||||
mode: single
|
||||
- id: '1735981366208'
|
||||
alias: Leaving Home
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: zone
|
||||
entity_id: person.julian
|
||||
zone: zone.home
|
||||
event: leave
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
floor_id:
|
||||
- unten
|
||||
- oben
|
||||
mode: single
|
||||
- id: '1735981499982'
|
||||
alias: Coming Home
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: zone
|
||||
entity_id: person.julian
|
||||
zone: zone.home
|
||||
event: enter
|
||||
conditions:
|
||||
- condition: sun
|
||||
after: sunset
|
||||
before: sunrise
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
kelvin: 2000
|
||||
brightness_pct: 50
|
||||
target:
|
||||
entity_id: light.wohnzimmer
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
effect: Ember
|
||||
target:
|
||||
entity_id: light.elements
|
||||
mode: single
|
||||
- id: '1750514682779'
|
||||
alias: Auto Control Mobile AC
|
||||
description: Turns mobile AC on/off based on temperature and automation toggle
|
||||
triggers:
|
||||
- entity_id: sensor.thermometer_buro_temperature_2
|
||||
above: 27
|
||||
trigger: numeric_state
|
||||
- entity_id:
|
||||
- sensor.thermometer_buro_temperature_2
|
||||
below: 24
|
||||
trigger: numeric_state
|
||||
- entity_id: input_boolean.ac_automation_enabled
|
||||
to: 'on'
|
||||
trigger: state
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.ac_automation_enabled
|
||||
state: 'on'
|
||||
- condition: time
|
||||
after: 08:00:00
|
||||
before: '22:00:00'
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.thermometer_buro_temperature_2
|
||||
above: 27
|
||||
sequence:
|
||||
- target:
|
||||
entity_id: climate.echos_mobile_klimaanlage_mit_wifi
|
||||
data:
|
||||
hvac_mode: cool
|
||||
action: climate.set_hvac_mode
|
||||
- target:
|
||||
entity_id: input_boolean.ac_auto_active
|
||||
action: input_boolean.turn_on
|
||||
data: {}
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.thermometer_buro_temperature_2
|
||||
below: 24
|
||||
sequence:
|
||||
- target:
|
||||
entity_id: climate.echos_mobile_klimaanlage_mit_wifi
|
||||
action: climate.turn_off
|
||||
data: {}
|
||||
- target:
|
||||
entity_id: input_boolean.ac_auto_active
|
||||
action: input_boolean.turn_off
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1750523603546'
|
||||
alias: Turn off AC when automation toggle is turned off
|
||||
triggers:
|
||||
- entity_id: input_boolean.ac_automation_enabled
|
||||
to: 'off'
|
||||
trigger: state
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_boolean.ac_auto_active
|
||||
state: 'on'
|
||||
actions:
|
||||
- target:
|
||||
entity_id: climate.echos_mobile_klimaanlage_mit_wifi
|
||||
action: climate.turn_off
|
||||
- target:
|
||||
entity_id: input_boolean.ac_auto_active
|
||||
action: input_boolean.turn_off
|
||||
mode: single
|
||||
- id: '1758382495219'
|
||||
alias: Sleep Tracking Started (Home)
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_sleep_tracking_2
|
||||
to:
|
||||
- started
|
||||
attribute: event_type
|
||||
conditions:
|
||||
- condition: zone
|
||||
entity_id: person.julian
|
||||
zone: zone.home
|
||||
actions:
|
||||
- sequence:
|
||||
- parallel:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
transition: 2
|
||||
rgb_color:
|
||||
- 255
|
||||
- 0
|
||||
- 0
|
||||
brightness_pct: 15
|
||||
target:
|
||||
area_id: bedroom
|
||||
- sequence:
|
||||
- condition: device
|
||||
device_id: 06b6270f81ce9719648d0adafb0cbef2
|
||||
domain: fan
|
||||
entity_id: 791bc56427ab036a07f6444c75317ec8
|
||||
type: is_on
|
||||
- action: fan.set_percentage
|
||||
metadata: {}
|
||||
data:
|
||||
percentage: 16
|
||||
target:
|
||||
area_id: bedroom
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
floor_id: unten
|
||||
- action: music_assistant.play_media
|
||||
metadata: {}
|
||||
data:
|
||||
media_id:
|
||||
- library://audiobook/12
|
||||
enqueue: replace
|
||||
target:
|
||||
device_id: c4caa54d97fd88139e3edf468fd714ce
|
||||
continue_on_error: true
|
||||
enabled: false
|
||||
- if:
|
||||
- condition: device
|
||||
device_id: 06b6270f81ce9719648d0adafb0cbef2
|
||||
domain: fan
|
||||
entity_id: 791bc56427ab036a07f6444c75317ec8
|
||||
type: is_on
|
||||
then:
|
||||
- action: media_player.volume_set
|
||||
metadata: {}
|
||||
data:
|
||||
volume_level: 0.1
|
||||
target:
|
||||
device_id: 1f884a0c64e02639fffc10c2747a01f4
|
||||
else:
|
||||
- action: media_player.volume_set
|
||||
metadata: {}
|
||||
data:
|
||||
volume_level: 0.05
|
||||
target:
|
||||
device_id: 1f884a0c64e02639fffc10c2747a01f4
|
||||
enabled: true
|
||||
- action: fan.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
area_id: living_room
|
||||
- sequence:
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
data:
|
||||
transition: 5
|
||||
target:
|
||||
area_id: bedroom
|
||||
mode: single
|
||||
- id: '1758383070507'
|
||||
alias: Start Sleep Tracking
|
||||
description: ''
|
||||
triggers:
|
||||
- type: plugged_in
|
||||
device_id: cea4fed628acb78af28bb9c48a265d11
|
||||
entity_id: 50f84770e5b8cd8e3eb916baef1f0a1a
|
||||
domain: binary_sensor
|
||||
trigger: device
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 1
|
||||
conditions:
|
||||
- condition: time
|
||||
after: '22:00:00'
|
||||
before: 03:00:00
|
||||
weekday:
|
||||
- sun
|
||||
- mon
|
||||
- tue
|
||||
- wed
|
||||
- thu
|
||||
- fri
|
||||
- sat
|
||||
- condition: state
|
||||
entity_id: event.sleep_as_android_sleep_tracking_2
|
||||
attribute: event_type
|
||||
state:
|
||||
- stopped
|
||||
actions:
|
||||
- action: script.start_sleep_tracking
|
||||
metadata: {}
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1758383701998'
|
||||
alias: Sleep Tracking Stopped
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_sleep_tracking_2
|
||||
attribute: event_type
|
||||
to:
|
||||
- stopped
|
||||
conditions:
|
||||
- condition: zone
|
||||
entity_id: person.julian
|
||||
zone: zone.home
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
data:
|
||||
transition: 5
|
||||
color_temp_kelvin: 2947
|
||||
brightness_pct: 25
|
||||
target:
|
||||
area_id: bedroom
|
||||
- sequence:
|
||||
- action: media_player.shuffle_set
|
||||
metadata: {}
|
||||
data:
|
||||
shuffle: true
|
||||
target:
|
||||
entity_id: media_player.speaker_bad_2
|
||||
- action: music_assistant.play_media
|
||||
metadata: {}
|
||||
data:
|
||||
enqueue: replace
|
||||
media_id:
|
||||
- library://artist/1
|
||||
target:
|
||||
entity_id: media_player.speaker_bad_2
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 45
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- action: media_player.media_stop
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: media_player.speaker_bad_2
|
||||
mode: single
|
||||
- id: '1758737029692'
|
||||
alias: Schreibtisch scan Licht
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: tag
|
||||
tag_id: 47412051-1947-4ef6-88b1-02aca77602d6
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.toggle
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
area_id: office
|
||||
- if:
|
||||
- condition: media_player.is_playing
|
||||
target:
|
||||
entity_id: media_player.speaker_bad_2
|
||||
options:
|
||||
behavior: any
|
||||
then:
|
||||
- action: music_assistant.transfer_queue
|
||||
metadata: {}
|
||||
data:
|
||||
source_player: media_player.speaker_bad_2
|
||||
target:
|
||||
device_id: 2e1fcb091fc8eb4513c232d00ed7a97e
|
||||
mode: single
|
||||
- id: '1758892251874'
|
||||
alias: Speedtest
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: time
|
||||
at: 03:00:00
|
||||
conditions: []
|
||||
actions:
|
||||
- action: homeassistant.update_entity
|
||||
data:
|
||||
entity_id:
|
||||
- sensor.speedtest_download
|
||||
- sensor.speedtest_upload
|
||||
- sensor.speedtest_ping
|
||||
mode: single
|
||||
- id: '1759432890095'
|
||||
alias: Fell Asleep
|
||||
description: ''
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- event.sleep_as_android_sleep_phase_2
|
||||
attribute: event_type
|
||||
to:
|
||||
- not_awake
|
||||
- light_sleep
|
||||
- deep_sleep
|
||||
- rem
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
seconds: 0
|
||||
enabled: false
|
||||
- trigger: numeric_state
|
||||
entity_id:
|
||||
- sensor.pixel_10_sleep_confidence
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 15
|
||||
seconds: 0
|
||||
above: 80
|
||||
conditions:
|
||||
- condition: zone
|
||||
entity_id: person.julian
|
||||
zone: zone.home
|
||||
actions:
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 10
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- action: media_player.media_stop
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
area_id: bedroom
|
||||
continue_on_error: true
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 1
|
||||
seconds: 0
|
||||
milliseconds: 0
|
||||
- action: fan.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
area_id: bedroom
|
||||
mode: single
|
||||
- id: '1779900420322'
|
||||
alias: Turn on PC
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 8e2942f6079c1ff8086c3d8cb427db0c
|
||||
domain: zha
|
||||
type: remote_button_short_press
|
||||
subtype: button
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: button.press
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: button.archstation
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1779900796574'
|
||||
alias: Schreibtischlampe
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 8e2942f6079c1ff8086c3d8cb427db0c
|
||||
domain: zha
|
||||
type: remote_button_double_press
|
||||
subtype: button
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.toggle
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: light.schreibtischlampe_light
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1779914848758'
|
||||
alias: Nanoleaf
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: c2c7c5e9ab3212af67a4733d02ca1437
|
||||
domain: zha
|
||||
type: remote_button_short_press
|
||||
subtype: button
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.toggle
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: light.elements
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1779914956222'
|
||||
alias: Hue
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: c2c7c5e9ab3212af67a4733d02ca1437
|
||||
domain: zha
|
||||
type: remote_button_double_press
|
||||
subtype: button
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.toggle
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: light.wohnzimmer
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1779915188913'
|
||||
alias: 'Ventilator '
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: c2c7c5e9ab3212af67a4733d02ca1437
|
||||
domain: zha
|
||||
type: remote_button_long_press
|
||||
subtype: button
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: fan.toggle
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: fan.ventilator_unten
|
||||
data: {}
|
||||
mode: single
|
||||
Reference in New Issue
Block a user