Files
hassos_config/automations.yaml
2023-06-29 16:14:36 +02:00

1029 lines
30 KiB
YAML

- id: '1655024113701'
alias: Hass - Restore Samba Backup sensor on startup
description: ''
trigger:
- platform: homeassistant
event: start
condition: []
action:
- service: hassio.addon_stdin
data:
addon: 15d21743_samba_backup
input: restore-sensor
mode: single
- id: '1655024363563'
alias: Hass - Samba Backup trigger manual backup
description: ''
trigger:
- platform: event
event_type: Samb_Backup_Trigger
id: samba_backup_trigger
context:
user_id:
- 584550695306466397829aca3a031534
condition: []
action:
- service: hassio.addon_stdin
data:
addon: 15d21743_samba_backup
input: trigger
mode: single
- id: '1655799303486'
alias: Hal - beweging sensor
description: ''
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
motion_sensor: binary_sensor.beweging_hal_motion_detection
target_entity: scene.hal_aan
illuminance_sensor: sensor.beweging_hal_illuminance
illuminance_cutoff: input_number.hal_luminance_threshold
target_off_entity: light.lamp_hal
no_motion_wait: input_number.hal_beweging_timer
time_limit_after: input_datetime.hal_beweging_active
time_limit_before: input_datetime.hal_beweging_inactive
- id: '1655843572859'
alias: Keuken - beweging sensor
description: ''
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
motion_sensor: binary_sensor.beweging_keuken_sensor_state_motion
target_entity: scene.keuken_verlichting_aan_beweging
no_motion_wait: input_number.keuken_timer_off
target_off_entity: light.lamp_aanrecht
time_limit_after: input_datetime.keuken_beweging_active
time_limit_before: input_datetime.keuken_beweging_inactive
- id: '1659077789477'
alias: Badkamer - beweging sensor nacht
description: 'turn on badkamer lamp als het donker is
'
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
motion_sensor: binary_sensor.beweging_badkamer_occupancy
target_entity: scene.badkamer_nacht_scene
no_motion_wait: input_number.badkamer_beweging_timer
time_limit_after: input_datetime.badkamer_beweging_active_nacht
time_limit_before: input_datetime.badkamer_beweging_inactive_nacht
target_off_entity: light.badkamer_babdkamer_lamp_dimmer_1
- id: '1659297303556'
alias: Woonkamer - tv kijken Sfeer auto aan
description: ''
trigger:
- platform: device
device_id: e114f1eb7daa22b88511d015df1f12f7
domain: select
entity_id: select.harmony_hub_activities
type: current_option_changed
from: power_off
to: Apple TV kijken 2
for:
hours: 0
minutes: 0
seconds: 5
condition:
- condition: time
after: '18:00:00'
before: '23:00:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
action:
- service: scene.turn_on
data: {}
target:
entity_id: scene.avond_stand
- type: turn_off
device_id: 9f4dd21a83f9473a5350876da52296d6
entity_id: light.lamp_bank_light
domain: light
mode: single
- id: '1660333123289'
alias: Badkamer - beweging sensor ochtend
description: 'turn on badkamer lamp als het donker is
'
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
motion_sensor: binary_sensor.beweging_badkamer_occupancy
target_entity: scene.badkamer_lamp_ochtend
no_motion_wait: input_number.badkamer_timer_ochtend
time_limit_after: input_datetime.badkamer_beweging_active_ochtend
time_limit_before: input_datetime.badkamer_beweging_inactive_ochtend
target_off_entity: light.badkamer_lamp_dimmer_1
- id: '1660496062014'
alias: 'Hal - Beweging toilet '
description: ''
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
target_entity: light.lamp_wc_beneden_light
illuminance_sensor: sensor.lumi_lumi_sensor_motion_aq2_illuminance
no_motion_wait: input_number.beweging_toilet_timer
target_off_entity: light.lamp_wc_beneden_light
illuminance_cutoff: input_number.beweging_toilet_helderheid
motion_sensor: binary_sensor.lumi_lumi_sensor_motion_aq2_occupancy
- id: '1660507765057'
alias: woonkamer - alles uit - sfeer schakelaar
description: ''
trigger:
- platform: device
type: turned_off
device_id: bc61b8f4ddf2fc04d3a0a6001ea7c7c8
entity_id: light.lamp_sfeer_woonkamer
domain: light
condition:
- condition: time
after: '21:30:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
before: 04:00:00
action:
- service: scene.turn_on
target:
entity_id: scene.woonkamer_ochtend_scene
metadata: {}
- type: turn_off
device_id: 6652a530d4f2c349be36ea58904e613f
entity_id: switch.display_woonkamer_browsee_screen
domain: switch
- delay:
hours: 0
minutes: 0
seconds: 20
milliseconds: 0
- service: scene.turn_on
data:
transition: 19
target:
entity_id: scene.tuin_nacht
- type: turn_off
device_id: 1281186f8b90c2b00053decdf33a6d72
entity_id: light.lamp_aanrecht
domain: light
mode: single
- id: '1661107342293'
alias: Zolder - Wasdroger cycle
description: ''
use_blueprint:
path: leofabri/appliance-status-monitor.yaml
input:
appliance_socket: switch.zolder_wasdroger_switch
appliance_power_sensor: sensor.zolder_wasdroger_electric_w_value
appliance_starting_power_threshold: 100
appliance_finishing_power_threshold: 5
appliance_state_machine: input_select.wasdroger_state_machine
appliance_job_cycle: input_boolean.wasdroger_job_cycle
delayed_job_completion_timer: timer.wasdroger_delayed_job_completion_timer
automation_self_trigger: input_boolean.wasdroger_automation_self_trigger
delayed_job_completion_duration: 8
actions_new_job_cycle_begins: []
actions_job_cycle_ends:
- service: media_player.play_media
target:
entity_id: media_player.inrit_speaker
data:
media_content_id: media-source://tts/cloud?message=Hey%2C+ik+denk+dat+de+wasdroger+klaar+is&language=nl-NL&gender=female
media_content_type: provider
metadata:
title: Hey, ik denk dat de wasdroger klaar is
thumbnail: https://brands.home-assistant.io/_/cloud/logo.png
media_class: app
children_media_class:
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://tts
- media_content_type: provider
media_content_id: media-source://tts/cloud?message=Hey%2C+ik+denk+dat+de+wasdroger+klaar+is&language=nl-NL&gender=female
- id: '1661238732633'
alias: Tuin - verlichting uit ochtend
description: ''
trigger:
- platform: sun
event: sunrise
offset: 00:30:00
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.tuin_uit
metadata: {}
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id:
- light.tuin_verlichting
- light.tuin_achtertuin
mode: single
- id: '1661803600011'
alias: Woonkamer - Beweging
description: ''
trigger:
- type: motion
platform: device
device_id: 4cf96197bf033071d030814729b20dfb
entity_id: binary_sensor.ikea_of_sweden_tradfri_motion_sensor_motion
domain: binary_sensor
condition:
- condition: or
conditions:
- condition: time
after: 04:30:00
before: sensor.sun_next_rising
weekday:
- sun
- mon
- tue
- wed
- thu
- sat
- fri
alias: Before sun rise
- condition: time
after: sensor.sun_next_setting
before: '23:00:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
alias: After Sunset
- condition: device
type: is_off
device_id: bc61b8f4ddf2fc04d3a0a6001ea7c7c8
entity_id: light.lamp_sfeer_woonkamer
domain: light
for:
hours: 0
minutes: 10
seconds: 0
enabled: true
action:
- service: scene.turn_on
target:
entity_id: scene.woonkamer_sfeer_verlichting_aan
metadata: {}
mode: single
- id: '1666506600186'
alias: Slaapkamer - bed lamp feller
description: ''
trigger:
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_long_press
subtype: button_2
condition: []
action:
- device_id: 01b9a993ffea323f6f094e9c231f6d3c
domain: light
entity_id: light.lamp_bed_willem_light
type: brightness_increase
mode: single
- id: '1670606586705'
alias: Woonkamer - lamp sfeer/ bank sync
description: ''
trigger:
- platform: device
type: changed_states
device_id: bc61b8f4ddf2fc04d3a0a6001ea7c7c8
entity_id: light.lamp_sfeer_woonkamer
domain: light
condition:
- condition: device
device_id: e114f1eb7daa22b88511d015df1f12f7
domain: select
entity_id: select.harmony_hub_activities
type: selected_option
option: power_off
action:
- choose:
- conditions:
- condition: device
type: is_on
device_id: bc61b8f4ddf2fc04d3a0a6001ea7c7c8
entity_id: light.lamp_sfeer_woonkamer
domain: light
sequence:
- type: turn_on
device_id: 9f4dd21a83f9473a5350876da52296d6
entity_id: light.lamp_bank_light
domain: light
brightness_pct: 20
- type: turn_on
device_id: 4c2d45d53cd5318e416fdc1cc942f65a
entity_id: light.lamp_dressoir
domain: light
brightness_pct: 20
- conditions:
- condition: device
type: is_off
device_id: bc61b8f4ddf2fc04d3a0a6001ea7c7c8
entity_id: light.lamp_sfeer_woonkamer
domain: light
sequence:
- type: turn_off
device_id: 9f4dd21a83f9473a5350876da52296d6
entity_id: light.lamp_bank_light
domain: light
- type: turn_off
device_id: 4c2d45d53cd5318e416fdc1cc942f65a
entity_id: light.lamp_dressoir
domain: light
mode: single
- id: '1671052282402'
alias: slaapkamer bedlamp fel
description: ''
trigger:
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_double_press
subtype: button_2
condition:
- condition: device
type: is_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
action:
- type: turn_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
brightness_pct: 100
mode: single
- id: '1672424581965'
alias: slaapkamer tim - schakelaar (Actions)
description: ''
trigger:
- device_id: 3910ebf2dce7c5e241c9a0972c05d25f
domain: zha
platform: device
type: remote_button_short_press
subtype: left
id: arrow_left_click
- device_id: 3910ebf2dce7c5e241c9a0972c05d25f
domain: zha
platform: device
type: remote_button_short_press
subtype: right
id: arrow_right_click
- device_id: 3910ebf2dce7c5e241c9a0972c05d25f
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_off
id: off_action
- device_id: 3910ebf2dce7c5e241c9a0972c05d25f
domain: zha
platform: device
type: remote_button_short_press
subtype: turn_on
id: on_action
- device_id: 3910ebf2dce7c5e241c9a0972c05d25f
domain: zha
platform: device
type: remote_button_long_release
subtype: dim_up
id: brightness_move_up
- device_id: 3910ebf2dce7c5e241c9a0972c05d25f
domain: zha
platform: device
type: remote_button_long_release
subtype: dim_down
id: brightness_move_down
condition: []
action:
- choose:
- conditions:
- condition: trigger
id: arrow_right_click
sequence:
- service: light.turn_on
target:
entity_id: light.rgb_slaapkamer_tim_light
data:
color_temp: '{% if state_attr("light.rgb_slaapkamer_tim_light","color_temp")
is none %} 454 {% elif state_attr("light.rgb_slaapkamer_tim_light","color_temp")|int
> 350 %} 333 {% elif state_attr("light.rgb_slaapkamer_tim_light","color_temp")|int
> 332 %} 285 {% elif state_attr("light.rgb_slaapkamer_tim_light","color_temp")|int
> 284 %} 244 {% else %} 370 {% endif %}
'
- conditions:
- condition: trigger
id: off_action
sequence:
- type: turn_off
device_id: 1834f301f21c8a1d8a7a16fe8ee2b6b2
entity_id: light.rgb_slaapkamer_tim_light
domain: light
- conditions:
- condition: trigger
id: arrow_left_click
sequence:
- service: light.turn_on
data:
rgb_color:
- '{{ (range(0, 255)|random) }}'
- '{{ (range(0, 255)|random) }}'
- '{{ (range(0, 255)|random) }}'
target:
entity_id: light.rgb_slaapkamer_tim_light
- conditions:
- condition: trigger
id: on_action
sequence:
- type: turn_on
device_id: 1834f301f21c8a1d8a7a16fe8ee2b6b2
entity_id: light.rgb_slaapkamer_tim_light
domain: light
- conditions:
- condition: trigger
id: brightness_move_up
sequence:
- service: light.turn_on
target:
entity_id: light.rgb_slaapkamer_tim_light
data:
brightness: '{% if state_attr("light.rgb_slaapkamer_tim_light","brightness")
is none %} 8 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 9 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 17 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 33 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 65 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 129 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 161 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 193 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
< 225 %} 255 {% else %} 10 {% endif %}
'
- conditions:
- condition: trigger
id: brightness_move_down
sequence:
- service: light.turn_on
target:
entity_id: light.rgb_slaapkamer_tim_light
data:
brightness: '{% if state_attr("light.rgb_slaapkamer_tim_light","brightness")
is none %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 254 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 223 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 191 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 159 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 127 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 63 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 31 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim_light","brightness")|int
> 15 %} 8 {% else %} 128 {% endif %}
'
mode: single
- id: '1673030409002'
alias: Hal - voordeur deurbel [BP]
description: ''
use_blueprint:
path: AngellusMortis/notification_ring_event.yaml
input:
doorbell_sensor:
- binary_sensor.voordeur_doorbell
cooldown: 29
notify_target_app: notify.notify
- id: '1674677403574'
alias: Keuken - Lamp S2 association Aanrecht
description: ''
trigger:
- platform: device
type: changed_states
device_id: 902cb3baf4ede5a269e89018c1ebd1cd
entity_id: light.lamp_keuken_2
domain: light
condition: []
action:
- type: toggle
device_id: 1281186f8b90c2b00053decdf33a6d72
entity_id: light.lamp_aanrecht
domain: light
mode: single
- id: '1674679921198'
alias: Woonkamer - knoppen (robsmart) [BP]
description: ''
use_blueprint:
path: Bekkie/robb-smart-8-switch-ROBB-ROB_200-007-0.yaml
input:
remote: b5245812a93ad1f15abe7ee901e5b43c
on_button_4_short:
- service: scene.turn_on
data: {}
target:
entity_id: scene.tuin_avond
off_button_4_short:
- service: scene.turn_on
data: {}
target:
entity_id: scene.tuin_uit
on_button_1_short:
- type: turn_on
device_id: 9f4dd21a83f9473a5350876da52296d6
entity_id: light.lamp_bank_light
domain: light
brightness_pct: 40
on_button_2_long: []
on_button_2_short:
- type: turn_on
device_id: 82e1a32555c372d3d5180521d1f84789
entity_id: switch.screens_woonkamer
domain: switch
off_button_2_short:
- type: turn_off
device_id: 82e1a32555c372d3d5180521d1f84789
entity_id: switch.screens_woonkamer
domain: switch
on_button_3_short:
- type: turn_on
device_id: 4ef8a164146ae2252807b12b461a9838
entity_id: switch.rolluik_woonkamer_2
domain: switch
off_button_3_short:
- type: turn_off
device_id: 4ef8a164146ae2252807b12b461a9838
entity_id: switch.rolluik_woonkamer_2
domain: switch
off_button_1_short:
- type: turn_off
device_id: 9f4dd21a83f9473a5350876da52296d6
entity_id: light.lamp_bank_light
domain: light
- id: '1675520145446'
alias: Zolder - knoppen bureau willem (BP)
description: ''
use_blueprint:
path: Bekkie/robb-smart-8-switch-ROBB-ROB_200-007-0.yaml
input:
remote: 7ed6c466f25f5b6aa59d9975cefc9e53
on_button_1_short:
- service: scene.turn_on
data: {}
target:
entity_id: scene.werken_op_zolder
off_button_1_short:
- service: scene.turn_on
data: {}
target:
entity_id: scene.klaar_met_werken_op_zolder
on_button_2_short:
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
domain: climate
entity_id: climate.airco_4
type: set_hvac_mode
hvac_mode: heat_cool
off_button_2_short:
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
domain: climate
entity_id: climate.airco_4
type: set_hvac_mode
hvac_mode: 'off'
- id: '1675628615548'
alias: Woonkamer - grover gaat smorgens poetsen
description: ''
trigger:
- platform: time
at: 03:00:00
condition:
- condition: or
conditions:
- condition: template
value_template: '{{ (as_timestamp(now()) - as_timestamp(states.sensor.roborock_vacuum_s5e_last_clean_end.last_updated)
)/3600 > 8}}'
enabled: false
- condition: and
conditions:
- condition: template
value_template: " - condition: template\n value_template: >-\n {{
(as_timestamp(now()) -\n as_timestamp(states.sensor.roborock_vacuum_s5e_last_clean_end.last_updated)\n
\ )/3600 > 1}}"
enabled: false
enabled: false
action:
- service: vacuum.set_fan_speed
data:
fan_speed: Low
target:
device_id: b99930765798a4796ca3ebb87e84299e
- device_id: b99930765798a4796ca3ebb87e84299e
domain: vacuum
entity_id: vacuum.roborock_vacuum_s5e
type: clean
mode: single
- id: '1676053221891'
alias: Tuin - verlichting sunset
description: ''
trigger:
- platform: sun
event: sunset
offset: 0
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.tuin_avond
metadata: {}
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: scene.turn_on
target:
entity_id: scene.tuin_avond
metadata: {}
- delay:
hours: 0
minutes: 0
seconds: 30
milliseconds: 0
- service: scene.turn_on
target:
entity_id: scene.tuin_avond
metadata: {}
mode: single
- id: '1677101568696'
alias: slaapstand
description: ''
trigger:
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_double_press
subtype: button_1
condition:
- type: is_no_motion
condition: device
device_id: dba81805bffdc5ab5eb183b0c2d845dc
entity_id: binary_sensor.beweging_woonkamer2_iaszone
domain: binary_sensor
for:
hours: 0
minutes: 1
seconds: 0
- condition: time
after: '20:30:00'
before: 05:00:00
- type: is_no_motion
condition: device
device_id: a55453469f5ec2003aa04648b125621d
entity_id: binary_sensor.beweging_hal_motion_detection
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 30
action:
- type: turn_off
device_id: 1281186f8b90c2b00053decdf33a6d72
entity_id: light.lamp_aanrecht
domain: light
- type: turn_off
device_id: b6b1a8c1b1f73cb280f602415d0e836c
entity_id: switch.lamp_hal
domain: switch
- type: turn_off
device_id: 22f223be563ccfe1828f7837472fb18d
entity_id: light.lamp_wc_beneden_light
domain: light
mode: single
- id: '1677177131483'
alias: hass - lowbatt meliding sensors naar iphone willem
description: ''
use_blueprint:
path: gmlupatelli/low_battery_notification.yaml
input:
time: '19:40:00'
actions:
- service: notify.mobile_app_iphone_van_willem
data:
message: sensor batteries are low {{sensors}}
- id: '1677526576561'
alias: slaapkamer i&w - knoppen bed willem (knop 2)
description: ''
trigger:
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_short_press
subtype: button_2
id: remote_button2_short_press
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_double_press
subtype: button_2
id: remote_button2_double_press
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_long_press
subtype: button_2
id: remote_button2_long_press
- device_id: dc42e9871d6dfc0ce76c594054038cd9
domain: zha
platform: device
type: remote_button_short_press
subtype: button_1
id: button_1_short
condition: []
action:
- if:
- condition: device
type: is_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
then:
- choose:
- conditions:
- condition: trigger
id: remote_button2_short_press
sequence:
- type: turn_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
brightness_pct: 5
- conditions:
- condition: trigger
id: remote_button2_double_press
sequence:
- type: turn_on
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
brightness_pct: 100
- conditions:
- condition: trigger
id: remote_button2_long_press
sequence:
- service: light.turn_on
target:
entity_id: light.lamp_bed_willem_light
data:
brightness: '{% if state_attr("light.lamp_bed_willem_light","brightness")
is none %} 8 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 9 %} 32 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 33 %} 128 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 129 %} 160 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 161 %} 192 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 193 %} 224 {% elif state_attr("light.lamp_bed_willem_light","brightness")|int
< 225 %} 255 {% else %} 10 {% endif %}
'
else:
- type: turn_off
device_id: 01b9a993ffea323f6f094e9c231f6d3c
entity_id: light.lamp_bed_willem_light
domain: light
mode: single
- id: '1678901438847'
alias: Knop kamer Luuk, verwarming uit
description: ''
trigger:
- device_id: 17ebe217929cb75025e2e52c47113267
domain: zha
platform: device
type: remote_button_short_press
subtype: remote_button_short_press
condition: []
action:
- service: climate.set_temperature
data:
temperature: 16
target:
entity_id: climate.kamer_luuk
mode: single
- id: '1678902018862'
alias: knop luuk dubbel klik - verwarming aan
description: ''
trigger:
- device_id: 17ebe217929cb75025e2e52c47113267
domain: zha
platform: device
type: remote_button_double_press
subtype: remote_button_double_press
condition: []
action:
- service: climate.set_preset_mode
data:
preset_mode: None
target:
entity_id: climate.kamer_luuk
- service: climate.set_temperature
data:
temperature: 18.5
target:
entity_id: climate.kamer_luuk
mode: single
- id: '1679258969777'
alias: badkamer - thermostaat automatisch uit
description: ''
trigger:
- platform: numeric_state
entity_id: climate.badkamer
for:
hours: 2
minutes: 0
seconds: 0
above: 17.5
attribute: temperature
condition:
- type: is_not_occupied
condition: device
device_id: dd0fea1459ae5d17823e14348b73cb24
entity_id: binary_sensor.lumi_lumi_sensor_motion_aq2_occupancy_2
domain: binary_sensor
for:
hours: 0
minutes: 20
seconds: 0
action:
- service: climate.set_temperature
data:
temperature: 16
target:
entity_id: climate.badkamer
- service: climate.set_temperature
data:
temperature: 15
target:
entity_id: climate.vloerverwarming_badkamer
- service: notify.mobile_app_iphone_van_willem
data:
message: Badkamer verwarming uit
mode: single
- id: '1679849595183'
alias: woonkamer - alles uit als het licht is
description: ''
trigger:
- platform: time
at: sensor.sun_next_rising
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.beneden_alles_uit
metadata: {}
mode: single
- id: '1683562357537'
alias: awtrix_weather_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_weather_app.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
my_sensor: weather.forecast_home
switch_to_app: false
toggle_helper: input_boolean.awtrix_weather_app_toggle
show_rainbow: false
duration: '10'
push_icon: '1'
show_windspeed: false
- id: '1683562545849'
alias: awtrix_rain_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_rain_forecast.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_rain_app_toggle
my_sensor: weather.forecast_home
graph_type: line
switch_to_app: true
- id: '1683566553338'
alias: awtrix_sensor_power_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_sensor: sensor.dsmr_reading_electricity_currently_delivered
my_icon: '21256'
show_rainbow: false
- id: '1683882275516'
alias: awtrix_sensor_pm2.5
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_icon: '2718'
push_icon: '1'
my_sensor: sensor.particulate_matter_2_5um_concentration
- id: '1683882676954'
alias: awtrix_stock_batt_toggle
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
input:
stock_app: bat
awtrix_display: 658104c6c966f75ddf9c747816e4a8f4
toggle_helper: input_boolean.awtrix_stock_batt_toggle
- id: '1684882366818'
alias: zolder - airco automatisch uit
description: ''
trigger:
- type: not_occupied
platform: device
device_id: 029153653b8e5f423c3350efedb3b0d3
entity_id: binary_sensor.aqs_zolder_still_target
domain: binary_sensor
for:
hours: 0
minutes: 20
seconds: 0
condition:
- condition: device
type: is_on
device_id: 6f9cbe311638680986f710f63e99e576
entity_id: switch.contact_airco_flap_zolder_switch
domain: switch
enabled: true
action:
- device_id: 53a4e48d13f3f94e7ca1ffe0557ac135
domain: climate
entity_id: climate.airco_4
type: set_hvac_mode
hvac_mode: 'off'
mode: single
- id: '1685739271048'
alias: Woonkamer - display aan
description: ''
trigger:
- platform: time
at: sensor.sun_next_rising
condition: []
action:
- type: turn_on
device_id: 6652a530d4f2c349be36ea58904e613f
entity_id: switch.display_woonkamer_browsee_screen
domain: switch
mode: single
- id: '1686156742969'
alias: woonkamer - beweging - leds - aan
description: ''
trigger:
- type: occupied
platform: device
device_id: 5bb607cec18e50a97f334c94836fa9f0
entity_id: binary_sensor.aqs_woonkamer2_aqs_woonkamer2_still_target
domain: binary_sensor
condition: []
action:
- type: turn_on
device_id: 5bb607cec18e50a97f334c94836fa9f0
entity_id: light.aqs_woonkamer2_aqs_woonkamer2_rgb_light
domain: light
brightness_pct: 50
mode: single
- id: '1686848917898'
alias: Tuin - automatisch water op timer
description: ''
trigger:
- platform: device
type: turned_on
device_id: e1fd7471fc9fcde9a19ec7175a486dd9
entity_id: switch.valve
domain: switch
condition: []
action:
- service: notify.mobile_app_iphone_van_willem
data:
message: Water timer gestart
- service: script.tuin_water_op_timer
data: {}
mode: single