Files
hassos_config/automations.yaml
2024-04-10 14:49:07 +02:00

1385 lines
36 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- id: '1655799303486'
alias: Hal - beweging sensor
description: ''
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.beweging_hal_motion_detection
light_switch:
entity_id: switch.lamp_hal
time_delay: 10
include_light_control: dont_use_brightness
include_bypass: []
include_ambient: ambient_disabled
ambient_light_sensor: sensor.beweging_hal_illuminance
ambient_light_options: ambient_light_option_enabled
include_time: time_enabled
after_time: 00:07:00
before_time: 00:19:30
end_scenes: []
- id: '1655843572859'
alias: Keuken - beweging sensor
description: ''
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.beweging_keuken_sensor_state_motion_2
time_delay: 10
include_light_control:
- use_brightness
light_brightness: 50
include_bypass: bypass_enabled
include_ambient: ambient_disabled
include_sun: sun_disabled
sun_elevation: 1
include_night_lights: night_lights_disabled
night_lights:
device_id: 1281186f8b90c2b00053decdf33a6d72
night_time_delay: 5.5
include_night_light_control:
- use_night_brightness
- use_brightness
night_light_brightness: 14
night_lights_after_time: '20:30:30'
night_lights_before_time: '23:00:00'
light_switch:
entity_id: light.lamp_aanrecht
motion_bypass: binary_sensor.contact_achterdeur_contact
night_lights_conditions:
- time_enabled
night_lights_entity_state: []
include_time: time_disabled
after_time: 00:07:00
before_time: 00:20:30
include_device_tracker: device_tracker_disabled
- 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:
transition: 13
target:
entity_id:
- scene.woonkamer_sfeer_verlichting_aan
mode: single
- id: '1660333123289'
alias: Badkamer - beweging
description: 'turn on badkamer lamp als het donker is
'
use_blueprint:
path: Blackshome/sensor-light47.yaml
input:
motion_trigger:
- binary_sensor.beweging_badkamer_occupancy
light_switch:
entity_id: light.lamp_badkamer
include_light_control:
- use_brightness
- use_transition
light_transition_off: 3
light_transition_on: 1
after_time: 00:07:15
light_brightness: 46
time_delay: 8
before_time: 00:20:30
include_night_lights: night_lights_enabled
night_lights:
entity_id: light.lamp_badkamer
include_night_light_control:
- use_brightness
- use_transition
night_time_delay: 3
night_light_brightness: 8
night_lights_conditions:
- time_enabled
night_lights_entity_state: []
night_lights_after_time: 00:20:30
night_lights_before_time: 00:22:30
- id: '1660496062014'
alias: 'Hal - Beweging toilet '
description: ''
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
no_motion_wait: input_number.beweging_toilet_timer
target_off_entity: light.lamp_wc_beneden
motion_sensor: binary_sensor.beweging_toilet_occupancy
target_entity: scene.wc_aan
- id: '1660507765057'
alias: woonkamer - alles uit - sfeer schakelaar
description: ''
trigger:
- platform: state
entity_id:
- light.lamp_sfeer2
from: 'on'
to: 'off'
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
- service: scene.turn_on
target:
entity_id: scene.kerst_uit
data: {}
enabled: false
- 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: '1661238732633'
alias: Tuin - alles uit in de ochtend
description: ''
trigger:
- platform: sun
event: sunrise
offset: 00:30:00
condition: []
action:
- service: script.tuin_alles_uit
mode: single
- id: '1661803600011'
alias: Woonkamer - Beweging
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.beweging_woon_eetm
from: 'off'
to: 'on'
condition:
- condition: or
conditions:
- alias: After Sunset
condition: time
before: 07:45:00
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
after: 07:00:00
- alias: After Sunset
condition: time
before: '22:00:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
after: '18:00:00'
- condition: device
type: is_off
device_id: 497536ba6a270af14bbc9594502c79f9
entity_id: 5f3f158ec2ef6a1d76bd3729c55fa181
domain: light
- condition: numeric_state
entity_id: sensor.ep1_woonkamer_illuminance
below: 32
action:
- service: scene.turn_on
target:
entity_id: scene.woonkamer_sfeer_verlichting_aan
metadata: {}
mode: single
- id: '1670606586705'
alias: Woonkamer - lamp sfeer/ bank sync
description: ''
trigger:
- platform: state
entity_id:
- light.lamp_sfeer2
from: 'off'
to: 'on'
id: Lamp gaat aan
- platform: state
entity_id:
- light.lamp_sfeer2
from: 'on'
to: 'off'
id: Lamp gaat uit
- platform: state
entity_id:
- light.lamp_bank
attribute: brightness
id: Helderheid
condition:
- condition: device
device_id: e114f1eb7daa22b88511d015df1f12f7
domain: select
entity_id: select.harmony_hub_activities
type: selected_option
option: power_off
action:
- choose:
- conditions:
- condition: trigger
id:
- Lamp gaat aan
sequence:
- type: turn_on
device_id: 3d18e796f75575f85a7289ecc8f5847c
entity_id: 7c6e8f4df48141fbf793f6950c5cca44
domain: light
brightness_pct: 30
- type: turn_on
device_id: 84d66e5b8bf8a78c3a1bf8fe0dcccf7d
entity_id: 10d3e1053f8475aa6370bef50d1540bf
domain: light
brightness_pct: 30
- conditions:
- condition: trigger
id:
- Lamp gaat uit
sequence:
- type: turn_off
device_id: 3d18e796f75575f85a7289ecc8f5847c
entity_id: 7c6e8f4df48141fbf793f6950c5cca44
domain: light
- type: turn_off
device_id: 84d66e5b8bf8a78c3a1bf8fe0dcccf7d
entity_id: 10d3e1053f8475aa6370bef50d1540bf
domain: light
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: '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: '1676053221891'
alias: Tuin - verlichting sunset
description: ''
trigger:
- platform: sun
event: sunset
offset: 0
condition: []
action:
- service: script.tuin_alles_aan
data: {}
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: '1678901438847'
alias: slaapkamer Luuk - knop verwarming uit
description: ''
trigger:
- platform: device
domain: mqtt
device_id: b302a6fc59c6e18c53e40eba7ef192b7
type: click
subtype: single
discovery_id: 0x00158d0008ad9560 click_single
condition: []
action:
- service: climate.set_temperature
data:
temperature: 16
target:
entity_id: climate.kamer_luuk
mode: single
- id: '1678902018862'
alias: slaapkamer luuk - longpress verwarming aan
description: ''
trigger:
- platform: device
domain: mqtt
device_id: b302a6fc59c6e18c53e40eba7ef192b7
type: action
subtype: hold
discovery_id: 0x00158d0008ad9560 action_hold
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: '1679849595183'
alias: woonkamer - alles uit als het licht is
description: ''
trigger:
- platform: sun
event: sunrise
offset: '1:00:00'
condition: []
action:
- service: scene.turn_on
target:
entity_id: scene.beneden_alles_uit
metadata: {}
- service: light.turn_off
data: {}
target:
entity_id: light.lamp_bed_willem
mode: single
- id: '1683566553338'
alias: awtrix_sensor_power_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_displays:
- 67e70125afc1a1b1530a8a4bbc86d830
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_sensor: sensor.dsmr_reading_electricity_currently_delivered
my_icon: '21256'
show_rainbow: false
switch_to_app: false
- id: '1683882275516'
alias: awtrix_sensor_pm2.5
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_displays:
- 67e70125afc1a1b1530a8a4bbc86d830
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_icon: '2718'
push_icon: '1'
my_sensor: sensor.aqs_woonkamer2_co2
- id: '1683882676954'
alias: awtrix_stock_batt_toggle
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
input:
stock_app: Battery
awtrix_displays:
- 67e70125afc1a1b1530a8a4bbc86d830
toggle_helper: input_boolean.awtrix_stock_batt_toggle
- id: '1685739271048'
alias: Woonkamer - display aan
description: ''
trigger:
- type: occupied
platform: device
device_id: 27369285b08c8900777ac3583ae8058d
entity_id: e7b249bd9662466cb3992ed760842997
domain: binary_sensor
id: Motion on
- type: not_occupied
platform: device
device_id: 27369285b08c8900777ac3583ae8058d
entity_id: e7b249bd9662466cb3992ed760842997
domain: binary_sensor
id: Motion off
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- Motion on
- condition: state
entity_id: switch.display_woonkamer_screen
state: 'off'
sequence:
- type: turn_on
device_id: 6652a530d4f2c349be36ea58904e613f
entity_id: 8ea088343901b662ed2ad97c14043b34
domain: switch
- if:
- condition: state
entity_id: sensor.display_woonkamer_current_page
attribute: full_url
state: http://192.168.2.181:8123/tuya-panel/0
then:
- stop: homepage al geladen
else:
- device_id: 6652a530d4f2c349be36ea58904e613f
domain: button
entity_id: ef0133d776a0015c7b4209a9c19c3b14
type: press
- conditions:
- condition: trigger
id:
- Motion off
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.display_woonkamer_screen
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
- id: '1688631089095'
alias: Keuken - Oven notificatie (als iemand thuis is)
description: ''
trigger:
- platform: state
entity_id:
- sensor.oven_operation_state
to:
from: Run
condition: []
action:
- if:
- condition: device
device_id: 7943b25b6e99489c3e0357017e823116
domain: device_tracker
entity_id: device_tracker.iphone_van_willem
type: is_home
- condition: not
conditions:
- condition: state
entity_id: sensor.ble_iphone_willem
state: keuken
then:
- service: notify.mobile_app_iphone_van_willem
data:
message: De oven is klaar
title: Oven
- if:
- condition: device
device_id: 1888dfa80ca38679556432ff10ab08c3
domain: device_tracker
entity_id: device_tracker.iphone_van_ilse
type: is_home
- condition: not
conditions:
- condition: state
entity_id: sensor.ble_garmin_ilse
state: keuken
then:
- service: notify.mobile_app_iphone_van_ilse
data:
message: De oven is klaar
title: Oven
mode: single
- id: '1688722609177'
alias: Hass- daily backup
description: ''
trigger:
- platform: time
at: '23:00:00'
condition: []
action:
- service: hassio.backup_full
data:
compressed: true
name: Daily full backup
mode: single
- id: '1688995539213'
alias: Zolder - wasmachine notificatie
description: ''
trigger:
- platform: state
entity_id:
- sensor.wasmachine_status
for:
hours: 0
minutes: 0
seconds: 15
attribute: Raw value
to: '7'
condition: []
action:
- if:
- condition: device
device_id: 7943b25b6e99489c3e0357017e823116
domain: device_tracker
entity_id: device_tracker.iphone_van_willem
type: is_home
then:
- service: notify.mobile_app_iphone_van_willem
data:
message: De wasmachine is klaar {{ states('sensor.wasmachine_status') }}
title: Wasmachine
- if:
- condition: device
device_id: 1888dfa80ca38679556432ff10ab08c3
domain: device_tracker
entity_id: device_tracker.iphone_van_ilse
type: is_home
then:
- service: notify.mobile_app_iphone_van_ilse
data:
message: De wasmachine is klaar
title: wasmachine
enabled: false
mode: single
- id: '1689934123616'
alias: Garage - beweging
description: ''
use_blueprint:
path: Blackshome/sensor-light.yaml
input:
motion_trigger:
- binary_sensor.beweging_garage_occupancy
include_bypass: []
include_ambient: ambient_enabled
include_sun: sun_disabled
light_switch:
entity_id: switch.lamp_tuin_en_garage_l2
- id: '1691953933835'
alias: Slaapkamer I&W - knoppen bed willen [BP]
description: ''
use_blueprint:
path: Drafted/aqara-buttons-all-in-one-zigbee2mqtt.yaml
input:
action_sensor: sensor.knoppen_bed_willem_action
single_left_action:
- service: light.toggle
data:
color_temp: 153
brightness_pct: 20
target:
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
single_right_action:
- service: light.toggle
data:
color_temp: 500
brightness_pct: 12
target:
entity_id: light.lamp_bed_willem
double_left_action:
- service: light.toggle
data:
color_temp: 153
brightness_pct: 100
target:
entity_id: light.hvac_ir_rgb_slaapkamer_neopixel_light
double_right_action:
- service: light.turn_on
target:
entity_id:
- light.lamp_bed_willem
data:
color_temp: 500
brightness_step_pct: 25
triple_right_action: []
- id: '1693231308249'
alias: Tuin - speelhuisje contact WLED verloren
description: ''
trigger:
- platform: state
entity_id:
- sensor.ledstrip_huisje_ip
from:
to: unavailable
for:
hours: 0
minutes: 10
seconds: 0
condition: []
action:
- if:
- condition: numeric_state
entity_id: counter.errorcount_speelhuisje_wled
below: 5
then:
- service: switch.turn_off
data: {}
target:
entity_id: switch.lamp_speelhuisje_2
- delay:
hours: 0
minutes: 0
seconds: 7
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.lamp_speelhuisje_2
- service: counter.increment
data: {}
target:
entity_id: counter.errorcount_speelhuisje_wled
- service: notify.mobile_app_iphone_van_willem
data:
message: wled speelhuisje gereset
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: automation.trigger
data:
skip_condition: false
target:
entity_id: automation.tuin_speelhuisje_contact_wled_verloren
else:
- service: notify.mobile_app_iphone_van_willem
data:
message: wled speelhuisje offline
- service: counter.reset
data: {}
target:
entity_id: counter.errorcount_speelhuisje_wled
mode: queued
max: 10
- id: '1694106579376'
alias: Overloop - gordijn
description: ''
trigger:
- platform: time
at: '19:15:00'
id: Avond
- platform: time
at: 08:00:00
id: Ochtend
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- Avond
sequence:
- device_id: cc0db2acf0bb2018d46ad2ffd2f89df1
domain: cover
entity_id: 50a2b15de13d2e3f2d7e26c302ccd3ff
type: close
- conditions:
- condition: trigger
id:
- Ochtend
sequence:
- choose:
- conditions:
- condition: state
entity_id: sensor.iphone_van_willem_battery_state
state: not charging
- condition: state
entity_id: sensor.iphone_van_ilse_battery_state
state: not charging
sequence:
- device_id: cc0db2acf0bb2018d46ad2ffd2f89df1
domain: cover
entity_id: 50a2b15de13d2e3f2d7e26c302ccd3ff
type: open
mode: single
- id: '1694164626646'
alias: esphome - plantsensor OTA mode
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.esphome_plantsensor_ota
to: 'on'
from:
id: OTA mode ON
- platform: state
entity_id:
- input_boolean.esphome_plantsensor_ota
to: 'off'
from:
id: OTA mode OFF
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- OTA mode ON
sequence:
- service: mqtt.publish
data:
topic: esphomeOTA/plant
payload: 'ON'
retain: false
- conditions:
- condition: trigger
id:
- OTA mode OFF
sequence:
- service: mqtt.publish
data:
topic: esphomeOTA/plant
retain: true
payload: PASS
mode: single
- id: '1694165252916'
alias: esphome - mailbox OTA
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.esphome_mailbox_ota
to: 'on'
from:
id: OTA mode ON
- platform: state
entity_id:
- input_boolean.esphome_mailbox_ota
to: 'off'
from:
id: OTA mode OFF
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- OTA mode ON
sequence:
- service: mqtt.publish
data:
payload: 'ON'
retain: false
topic: esphomeOTA/mailbox
- conditions:
- condition: trigger
id:
- OTA mode OFF
sequence:
- service: mqtt.publish
data:
topic: esphomeOTA/mailbox
payload: 'OFF'
retain: true
mode: single
- id: '1694291616550'
alias: Slaapkamer - airco uit na 30min
description: ''
trigger:
- platform: device
type: turned_off
device_id: 8e94a930de2ce2b7b817fd4c170db303
entity_id: 72a31f7297d662dc207906fe69c363f2
domain: remote
condition: []
action:
- choose:
- conditions:
- condition: device
device_id: bef3c23b914774df516fe3c845614ac4
domain: climate
entity_id: 746b0157892ce233c7c5b698b4590407
type: is_hvac_mode
hvac_mode: cool
sequence:
- delay:
hours: 0
minutes: 30
seconds: 0
milliseconds: 0
- service: climate.set_hvac_mode
data:
hvac_mode: 'off'
target:
device_id: bef3c23b914774df516fe3c845614ac4
mode: single
- id: '1695061260712'
alias: Awtrix - weather
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_weather_app.yaml
input:
awtrix_displays:
- 67e70125afc1a1b1530a8a4bbc86d830
toggle_helper: input_boolean.awtrix_weather_app_toggle
my_sensor: weather.forecast_home
show_windspeed: false
show_humidity: false
language: nl
show_rainbow: false
show_text: false
- id: '1695061493153'
alias: awtrix_rain_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_rain_forecast.yaml
input:
awtrix_displays:
- 67e70125afc1a1b1530a8a4bbc86d830
toggle_helper: input_boolean.awtrix_rain_app_toggle
my_sensor: weather.forecast_home
my_text: het blijft droog
switch_to_app: true
- id: '1695061873005'
alias: awtrix_moodlight_app
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_moodlight.yaml
input:
awtrix_displays:
- 67e70125afc1a1b1530a8a4bbc86d830
toggle_helper: input_boolean.awtrix_moodlight_toggle
moodlight_color:
- 196
- 188
- 0
brightness: 67
- id: '1698444876761'
alias: 'Badkamer - vloer volgt radiator '
description: ''
trigger:
- platform: state
entity_id:
- climate.badkamer
attribute: temperature
condition: []
action:
- service: climate.set_temperature
data:
temperature: '{{state_attr(''climate.badkamer'',''status'').setpoint_status.target_heat_temperature}}
'
target:
device_id: f2c8a19181504e3272eca879011d229e
mode: single
- id: '1698778051950'
alias: haloween - deurbel ring
description: ''
trigger:
- type: occupied
platform: device
device_id: 7c1ced4c0307f87bc9a1b16401d6c4cd
entity_id: 3089242bc08db2a80c6514b77a22924d
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 3
condition: []
action:
- service: script.halloween_play_witches
data: {}
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- service: script.haloween
data: {}
mode: single
- id: '1698778147875'
alias: haloween - deurbel beweging - heks
description: ''
trigger:
- type: motion
platform: device
device_id: 7c1ced4c0307f87bc9a1b16401d6c4cd
entity_id: 67974fc0dec97abcc1d421cff8f3f899
domain: binary_sensor
condition:
- condition: time
after: '16:00:00'
before: '22:00:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
action:
- service: script.haloween
data: {}
- service: script.halloween_play_witches
data: {}
- repeat:
sequence:
- service: script.haloween
data: {}
until:
- type: is_no_motion
condition: device
device_id: 7c1ced4c0307f87bc9a1b16401d6c4cd
entity_id: 67974fc0dec97abcc1d421cff8f3f899
domain: binary_sensor
- service: light.turn_on
data:
color_temp: 500
brightness_pct: 35
target:
entity_id: light.tuin_lamp_voortuin_pad_rechts
mode: single
- id: '1701172785385'
alias: ha backup - git
description: ''
trigger:
- platform: time_pattern
hours: '23'
minutes: '23'
seconds: '23'
condition: []
action:
- service: hassio.addon_stdin
data:
addon: a0d7b954_ssh
input: /config/config_backup.sh
mode: single
- id: '1701204274791'
alias: slaapkamer tim - knoppen (2)
description: ''
trigger:
- platform: device
domain: mqtt
device_id: 85799733aa5b0fcebd56bc35541afd1a
type: action
subtype: arrow_left_click
discovery_id: 0x003c84fffe32c0c0 action_arrow_left_click
id: arrow_left_click
- platform: device
domain: mqtt
device_id: 85799733aa5b0fcebd56bc35541afd1a
type: action
subtype: arrow_right_click
discovery_id: 0x003c84fffe32c0c0 action_arrow_right_click
id: arrow_right_click
- platform: device
domain: mqtt
device_id: 85799733aa5b0fcebd56bc35541afd1a
type: action
subtype: 'off'
discovery_id: 0x003c84fffe32c0c0 action_off
id: off_action
- platform: device
domain: mqtt
device_id: 85799733aa5b0fcebd56bc35541afd1a
type: action
subtype: 'on'
discovery_id: 0x003c84fffe32c0c0 action_on
id: on_action
- platform: device
domain: mqtt
device_id: 85799733aa5b0fcebd56bc35541afd1a
type: action
subtype: brightness_move_up
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_up
id: brightness_move_up
- platform: device
domain: mqtt
device_id: 85799733aa5b0fcebd56bc35541afd1a
type: action
subtype: brightness_move_down
discovery_id: 0x003c84fffe32c0c0 action_brightness_move_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
data:
color_temp: '{% if state_attr("light.rgb_slaapkamer_tim","color_temp") is
none %} 454 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
> 350 %} 333 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
> 332 %} 285 {% elif state_attr("light.rgb_slaapkamer_tim","color_temp")|int
> 284 %} 244 {% else %} 370 {% endif %}
'
- conditions:
- condition: trigger
id: off_action
sequence:
- type: turn_off
device_id: f8152ddb8405d3417a0141746a3c3ce0
entity_id: 5419855a4d17f478a45d515e8f9d87d9
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
- conditions:
- condition: trigger
id: on_action
sequence:
- type: turn_on
device_id: f8152ddb8405d3417a0141746a3c3ce0
entity_id: 5419855a4d17f478a45d515e8f9d87d9
domain: light
brightness_pct: 25
- conditions:
- condition: trigger
id: brightness_move_up
sequence:
- service: light.turn_on
target:
entity_id: light.rgb_slaapkamer_tim
data:
brightness: '{% if state_attr("light.rgb_slaapkamer_tim","brightness") is
none %} 8 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
< 9 %} 16 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
< 17 %} 32 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
< 33 %} 64 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
< 65 %} 128 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
< 129 %} 160 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
< 161 %} 192 {% elif state_attr("light.rgb_slaapkamer_tim","brightness")|int
< 193 %} 224 {% elif state_attr("light.rgb_slaapkamer_tim","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
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: '1701930524468'
alias: kerst aan
description: ''
trigger:
- platform: time
at: 07:00:00
condition: []
action:
- service: scene.turn_on
data: {}
target:
entity_id: scene.kerst_aan
mode: single
- id: '1702973551096'
alias: Keuken - beweging 2
description: ''
use_blueprint:
path: freakshock88/motion_illuminance_activated_entity.yaml
input:
motion_sensor: binary_sensor.beweging_keuken_sensor_state_motion_2
target_entity: light.lamp_aanrecht
time_limit_before: input_datetime.keuken_beweging_inactive
time_limit_after: input_datetime.keuken_beweging_active
no_motion_wait: input_number.keuken_timer_off
- id: '1705825884795'
alias: 'Woonkamer - s ochtends rolluik open '
description: ''
trigger:
- platform: time
at: 07:50:00
condition: []
action:
- service: cover.open_cover
metadata: {}
data: {}
target:
device_id: 4ef8a164146ae2252807b12b461a9838
mode: single
- id: '1708506766328'
alias: esphome_auto-update
description: ''
trigger:
- platform: template
value_template: '{{ integration_entities(''esphome'') | select(''match'', ''^update.'')
| select(''is_state'',''on'')|list|count > 0 }}'
condition: []
action:
- service: script.esphome_update_all
metadata: {}
data: {}
mode: single
- id: '1708760716600'
alias: Woonkamer - sunrise
description: ''
trigger:
- platform: sun
event: sunrise
condition: []
action:
- device_id: 20cedb451bf9a933cc3f4d676e2b4489
domain: select
entity_id: 47e6cba0a1aaf133c722cde662cb3556
type: select_option
option: Pasen
- service: light.turn_on
target:
device_id: 64af8393a844e43d5762a88a1fb2bd56
data: {}
mode: single
- id: '1709379869844'
alias: awtrix - disable stock temperature
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
input:
stock_app: Temperature
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_stock_app_toggle
- id: '1709379920631'
alias: awtrix - disable stock Humidity
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
input:
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_stock_app_toggle
stock_app: Humidity
- id: '1709380039974'
alias: awtrix - disable stock battery
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_toggle_stock_app.yaml
input:
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_stock_app_toggle
stock_app: Battery
- id: '1709380110983'
alias: awtrix woonkamer - humidity
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_sensor: sensor.ikea_particles_humidity
my_icon: '2423'
push_icon: '0'
- id: '1709406299707'
alias: awtrix woonkamer - temperature
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_sensor: sensor.ikea_particles_temperature
my_icon: '9275'
push_icon: '0'
- id: '1709406707433'
alias: awtrix woonkamer - PM25
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_sensor: sensor.ikea_particles_pm25
my_icon: '6641'
- id: '1709406813204'
alias: awtrix woonkamer - bitcoins
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_create_sensor_app.yaml
input:
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_power_sensor_toggle
my_sensor: sensor.exchange_rate_1_btc
my_icon: '57014'
push_icon: '0'
- id: '1709464566779'
alias: Assist - bose harder
description: ''
trigger:
- platform: conversation
command:
- Zet bose harder
- Zet de muziek harder
condition: []
action:
- service: media_player.volume_up
target:
device_id: 24d1977346e9fc44d02e017911d3e285
data: {}
mode: single
- id: '1709464585755'
alias: Assist - bose zachte
description: ''
trigger:
- platform: conversation
command:
- Zet bose zachter
- Zet de muziek zachter
condition: []
action:
- service: media_player.volume_down
target:
device_id:
- 24d1977346e9fc44d02e017911d3e285
data: {}
mode: single
- id: '1711961768846'
alias: Awtrix woonkamer - moodlight
description: ''
use_blueprint:
path: smarthomejunkie/awtrix_moodlight.yaml
input:
awtrix_displays:
- 64af8393a844e43d5762a88a1fb2bd56
toggle_helper: input_boolean.awtrix_moodlight_toggle
brightness: 107
moodlight_color:
- 118
- 187
- 64
- id: '1712383832600'
alias: Unifi - mailboxcam auto ir
description: ''
trigger:
- platform: time
at: '20:00:00'
condition: []
action:
- device_id: 2025ba7cc40315fb7a2a617c6264c1e3
domain: select
entity_id: 66bf6ef0a15b50ee5ae1004f889a73e1
type: select_option
option: Auto
mode: single
- id: '1712383876532'
alias: Unifi - mailboxcam - manual ir
description: ''
trigger:
- platform: time
at: 07:15:00
condition: []
action:
- device_id: 2025ba7cc40315fb7a2a617c6264c1e3
domain: select
entity_id: 66bf6ef0a15b50ee5ae1004f889a73e1
type: select_option
option: Always Disable
mode: single