- 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: '1728146645423' alias: Watchman report description: '' trigger: - type: value platform: device device_id: f4f17ad4d0592f9dc6844ef6530627d4 entity_id: 099f4db4a8bd40575d544ee542242c74 domain: sensor above: 0 - type: value platform: device device_id: f4f17ad4d0592f9dc6844ef6530627d4 entity_id: 9d1f623158feb4e90e2519ce917d52a6 domain: sensor above: 0 condition: [] action: - action: watchman.report metadata: {} data: create_file: false chunk_size: false send_notification: true mode: single - id: '1752820768273' alias: fan follow description: '' triggers: - type: speed device_id: 95d0118df036203c9ba9666a638f4aa7 entity_id: 7a0b45e086ea4a1bb197508d5dd5705f domain: sensor trigger: device above: 0 below: 50 id: Move - type: turned_off device_id: 95d0118df036203c9ba9666a638f4aa7 entity_id: 7740d741aba09369422b3ff84df3832e domain: binary_sensor trigger: device id: Nomove conditions: - condition: device device_id: 65efdd1635426f4f499786410bc83b34 domain: fan entity_id: 76345f123ecacf22501b3f6ad8cd9eb6 type: is_on - condition: state entity_id: input_boolean.fan_follow_me state: 'on' actions: - choose: - conditions: - condition: trigger id: - Move sequence: - if: - condition: state entity_id: binary_sensor.beweging_zolder_ep_lite_target_2_active state: 'on' for: hours: 0 minutes: 1 seconds: 0 then: - if: - condition: numeric_state entity_id: sensor.beweging_zolder_ep_lite_target_1_angle below: sensor.beweging_zolder_ep_lite_target_2_angle then: - action: number.set_value metadata: {} data: value: '{{states(''sensor.beweging_zolder_ep_lite_target_1_angle'') | round * -1 }}' target: entity_id: number.air_circulator_horizontal_oscillation_angle_left - action: number.set_value metadata: {} data: value: '{{states(''sensor.beweging_zolder_ep_lite_target_2_angle'') | round * -1 }}' target: entity_id: number.air_circulator_horizontal_oscillation_angle_right else: - action: number.set_value metadata: {} data: value: '{{states(''sensor.beweging_zolder_ep_lite_target_2_angle'') | round * -1 }}' target: entity_id: number.air_circulator_horizontal_oscillation_angle_left - action: number.set_value metadata: {} data: value: '{{states(''sensor.beweging_zolder_ep_lite_target_1_angle'') | round * -1 }}' target: entity_id: number.air_circulator_horizontal_oscillation_angle_right - type: turn_on device_id: 65efdd1635426f4f499786410bc83b34 entity_id: 2848fde3b6de331fc8ad9849b30c3317 domain: switch else: - type: turn_off device_id: 65efdd1635426f4f499786410bc83b34 entity_id: 2848fde3b6de331fc8ad9849b30c3317 domain: switch - action: number.set_value metadata: {} data: value: '{{states(''sensor.beweging_zolder_ep_lite_target_1_angle'') | round * -1 }}' target: entity_id: number.air_circulator_horizontal_angle - conditions: - condition: trigger id: - Nomove sequence: - type: turn_on device_id: 65efdd1635426f4f499786410bc83b34 entity_id: 2848fde3b6de331fc8ad9849b30c3317 domain: switch mode: single - id: '1752821542310' alias: beweging woonkamer - scherm aan description: '' triggers: - type: turned_on device_id: 95d0118df036203c9ba9666a638f4aa7 entity_id: 7740d741aba09369422b3ff84df3832e domain: binary_sensor trigger: device conditions: [] actions: - action: switch.turn_on metadata: {} data: {} target: entity_id: switch.unnamed_room_statuslampje - action: button.press metadata: {} target: entity_id: button.shellywalldisplay_00a90b80def7_turn_on_the_screen data: {} - action: switch.turn_on metadata: {} target: entity_id: - switch.stopcontact_woonkamer_output_2_tv - switch.stopcontact_woonkamer_output_0 data: {} mode: single - id: '1753967772982' alias: Beweging toilet description: '' use_blueprint: path: freakshock88/motion_illuminance_activated_entity.yaml input: motion_sensor: binary_sensor.beweging_toilet target_entity: light.lamp_toilet no_motion_wait: input_number.beweging_toilet_timer - id: '1754287559178' alias: Auto Away & Thuis Boiler description: Boiler en apparaten automatisch uit bij afwezigheid en aan bij thuiskomst triggers: - trigger: state entity_id: binary_sensor.beweging_thuis from: 'on' to: 'off' for: 02:00:00 id: Niemand_thuis - trigger: state entity_id: - device_tracker.iphone16_willem_irk_irk from: - not_home to: - home id: Thuis for: hours: 0 minutes: 30 seconds: 0 conditions: [] actions: - choose: - conditions: - condition: trigger id: - Niemand_thuis - condition: state entity_id: device_tracker.iphone16_willem_irk_irk state: not_home - condition: state entity_id: input_boolean.verwarming_gastmodus state: 'off' sequence: - target: entity_id: input_boolean.iemand_thuis action: input_boolean.turn_off - action: script.alles_uit metadata: {} data: {} - data: message: Away modus ingeschakeld (boiler en verwarming uit) action: notify.mobile_app_iphone_van_willem - conditions: - condition: trigger id: Thuis sequence: - condition: state entity_id: input_boolean.iemand_thuis state: 'off' - data: message: Welkom thuis action: notify.mobile_app_iphone_van_willem - data: operation_mode: eco action: water_heater.set_operation_mode target: device_id: 0db7dd89cc13b1dee2490abad9450ca3 enabled: false - target: entity_id: input_boolean.iemand_thuis action: input_boolean.turn_on - action: switch.turn_on metadata: {} data: {} target: entity_id: switch.boiler_2 - action: switch.turn_on metadata: {} target: entity_id: - switch.stopcontact_woonkamer_output_2_tv - switch.stopcontact_woonkamer_output_0 data: {} - condition: state entity_id: input_boolean.verwarming_gastmodus state: 'on' - data: message: Gastmodus staat aan action: notify.mobile_app_iphone_van_willem mode: single - id: '1754461823733' alias: Ventilator badkamer [BP] description: '' use_blueprint: path: Blackshome/bathroom-humidity-exhaust-fan.yaml input: trigger: sensor.badkamer_luchtvochtigheid fan_switch: device_id: 6e29c3c314df87528f187dbe4eb847d4 include_max_humidity: maximum_humidity_enabled include_lights: lights_enabled light_switch: device_id: fd928c6d0fd2752492d952a375f9409a include_manual_fan_switch: disable_manual_fan_switch include_automation_link: enable_automation_link automation_link: - input_boolean.in_de_douche automation_link_time_delay: 20 light_time_delay: 20 include_light_control: [] - id: '1755418937534' alias: Beweging meterkast description: '' use_blueprint: path: freakshock88/motion_illuminance_activated_entity.yaml input: motion_sensor: binary_sensor.everything_presence_one_7f7364_pir target_entity: light.lamp_meterkast no_motion_wait: input_number.beweging_meterkast_timer - id: '1755669352381' alias: Beweging Badkamer [BP] description: '' use_blueprint: path: freakshock88/motion_illuminance_activated_entity.yaml input: motion_sensor: binary_sensor.beweging_badkamer2_bezetting target_entity: light.lamp_badkamer no_motion_wait: input_number.badkamer_timer turn_off_blocker_entity: input_boolean.in_de_douche - id: '1756728579666' alias: Button Open voordeur description: '' triggers: - device_id: 0ccc5ec3c7c93aa278e95a47b9d56830 domain: zha type: remote_button_double_press subtype: remote_button_double_press trigger: device conditions: [] actions: - if: - condition: device device_id: ead52fdd2817e1e0d5c981e717e3bf63 domain: lock entity_id: 21ed9e61c7b8e284fe8e5ea9f30c1136 type: is_locked then: - action: lock.unlock metadata: {} data: {} target: device_id: ead52fdd2817e1e0d5c981e717e3bf63 alias: Unlock when locked - action: lock.open metadata: {} data: {} target: device_id: ead52fdd2817e1e0d5c981e717e3bf63 - action: notify.mobile_app_iphone_van_willem metadata: {} data: message: Voordeur is open mode: single - id: '1756826045048' alias: Container reset op 1e van de maand description: '' triggers: - trigger: time at: 08:00:00 conditions: - condition: template value_template: '{{ now().day == 1 }}' actions: - action: counter.reset metadata: {} data: {} target: entity_id: counter.container_lichting - action: notify.mobile_app_iphone_van_willem metadata: {} data: message: container gereset title: container mode: single - id: '1758055141945' alias: Beweging Keuken description: '' use_blueprint: path: Blackshome/sensor-light.yaml input: motion_trigger: - binary_sensor.beweging_keuken_bezetting light_switch: entity_id: light.lamp_keuken_main include_light_control: - use_brightness light_brightness: 80 include_sun: sun_enabled night_lights_conditions: - time_enabled include_time: time_disabled after_time: '18:00:00' before_time: 09:00:00 night_lights: entity_id: light.lamp_keuken_kleur include_night_light_control: - use_brightness night_light_brightness: 50 include_night_light_colour_control: use_rgb_colour night_light_colour_temperature: 2700 include_night_glow: night_glow_disabled night_glow_lights: entity_id: light.lamp_keuken_kleur include_night_glow_light_colour_control: use_colour_temperature night_glow_light_colour_temperature: 2000 include_night_glow_light_control: - use_brightness include_dynamic_lighting: disable_dynamic_lighting dynamic_lighting_min_colour_temp: 2500 include_night_lights: night_lights_enabled dynamic_lighting_max_colour_temp: 4200 night_lights_after_time: '22:00:00' dynamic_lighting_max_brightness: 80 dynamic_lighting_min_brightness: 42 night_lights_before_time: 06:00:00 night_light_transition_on: 0 night_light_transition_off: 4 include_light_colour_control: use_colour_temperature light_colour_temperature: 3600 dynamic_lighting_boolean: input_boolean.keuken_toggel_helper night_light_rgb_colour: - 217 - 255 - 179 night_glow_light_brightness: 38 light_transition_on: 0.5 include_dim_before_off: dim_before_off_enabled dim_before_off_boolean: input_boolean.keuken_dim_helper include_device_tracker: device_tracker_disabled time_delay: 10 - id: '1758800846641' alias: Voordeur ontgrendelen met RFID description: '' triggers: - tag_id: 04-DA-AF-A2-C0-16-90 trigger: tag - tag_id: 7D-98-B0-99 trigger: tag actions: - target: entity_id: lock.voordeur action: lock.open data: {} enabled: true - action: light.toggle metadata: {} data: {} target: entity_id: light.lamp_kast enabled: false - action: tts.speak metadata: {} data: cache: true message: toegang toegestaan, de deur gaat nu open media_player_entity_id: media_player.esphome_web_0c8784_speaker_media_player target: device_id: ff2155e96d61ed2a7f60183d5e67eb62 - id: '1759405814831' alias: schakelaar kids [BP] description: '' use_blueprint: path: willumpie82/zwaveMe-WALLC-S.yaml input: remote_device: 56365bed8316580baab74c57791f8e4a left_light: light.lamp_kantoor right_light: light.lamp_kantoor device: 56365bed8316580baab74c57791f8e4a left_lamp: light.lamp_kantoor right_mode: lamp right_lamp: light.lamp_kantoor zwave_device: 56365bed8316580baab74c57791f8e4a - id: '1759409502692' alias: Schakelaar keuken [BP] description: '' use_blueprint: path: willumpie82/zwaveMe-WALLC-S.yaml input: remote_device: 3c6adb5b34c9439faaf009600e1720a1 left_light: light.lamp_keuken_main right_light: light.lamp_keuken_kleur device: 3c6adb5b34c9439faaf009600e1720a1 left_lamp: light.lamp_keuken_main right_lamp: light.lamp_keuken_kleur zwave_device: 3c6adb5b34c9439faaf009600e1720a1 - id: '1759409612602' alias: Schakelaar badkamer description: '' use_blueprint: path: willumpie82/zwaveMe-WALLC-S.yaml input: remote_device: c873855cf3547b63f9c9e1dc3cbca912 left_light: light.lamp_badkamer right_mode: lamp right_up_single: - action: switch.turn_on metadata: {} data: {} target: entity_id: switch.ventilator_badkamer right_down_single: - action: switch.turn_off metadata: {} data: {} target: entity_id: switch.ventilator_badkamer device: c873855cf3547b63f9c9e1dc3cbca912 left_lamp: light.lamp_badkamer button3_single: - action: switch.turn_on metadata: {} data: {} target: entity_id: switch.ventilator_badkamer button4_single: - action: switch.turn_off metadata: {} data: {} target: entity_id: switch.ventilator_badkamer zwave_device: c873855cf3547b63f9c9e1dc3cbca912 left_mode: custom right_lamp: light.lamp_badkamer button1_single_custom: - action: fan.turn_on metadata: {} data: {} target: entity_id: fan.ventilator_badkamer button2_single_custom: - action: fan.turn_off metadata: {} data: {} target: entity_id: fan.ventilator_badkamer - id: '1759412912012' alias: Schakelaar slaapkamer [BP] description: '' use_blueprint: path: willumpie82/shelly-detached-input3.yaml input: primary_input: binary_sensor.slaapkamer_deur_input_0 secondary_input: binary_sensor.schakelaar_bed_rechts_1 lamp_entity: light.lamp_slaapkamer_2 confirm_switch: switch.schakelaars_slaapkamer_deur_confirm tertiary_input: binary_sensor.schakelaar_bed_links_0 - id: '1759752615892' alias: schakelaar tafel description: '' use_blueprint: path: willumpie82/shelly-detached-input3.yaml input: primary_input: binary_sensor.shelly1pmminig3_54320451c290_input_0 lamp_entity: light.lamp_tafel confirm_switch: switch.lamp_tafel_main_confirm - id: '1760174572626' alias: ESPHome Update Checker description: 'Automatically update ESPHome Devices after ESPHome upgrade, and notify when they are updated. ' triggers: - value_template: "{{ integration_entities('esphome')\n | select('match', '^update\\.')\n \ | select('is_state', 'on')\n | list | count > 0 }}\n" trigger: template - value_template: "{% set entities = states.update\n | selectattr('state', 'eq', 'on')\n | map(attribute='entity_id')\n | select('in', integration_entities('esphome'))\n \ | list | count %}\n{{ entities == 0 }}\n" trigger: template - event_type: timer.finished event_data: entity_id: timer.esphome_updates_timer trigger: event conditions: [] actions: - choose: - conditions: - condition: or conditions: - condition: template value_template: '{{ trigger is not none and trigger.platform == ''template'' }} ' - condition: state entity_id: input_boolean.esp_update_manual state: 'on' sequence: - data: duration: 00:05:00 target: entity_id: timer.esphome_updates_timer action: timer.start - data: title: ESPHome Devices message: "{% set entity = states.update\n | selectattr('state', 'eq', 'on')\n | map(attribute='entity_id')\n | select('in', integration_entities('esphome'))\n \ | first %}\n{% if entity %}\n Your ESPHome devices will now be updated from \n {{ state_attr(entity, \"installed_version\") }} \n to {{ state_attr(entity, \"latest_version\") }}.\n{% else %}\n No ESPHome updates found.\n{% endif %}\n" action: notify.mobile_app_iphone_van_willem - repeat: for_each: "{{ states.update\n | selectattr('state', 'eq', 'on')\n | map(attribute='entity_id')\n | select('in', integration_entities('esphome'))\n \ | list }}\n" sequence: - target: entity_id: '{{ repeat.item }}' action: update.install - wait_template: '{{ is_state(repeat.item, ''off'') }}' timeout: 00:03:00 - condition: state entity_id: input_boolean.esp_update_manual state: 'on' - target: entity_id: input_boolean.esp_update_manual action: input_boolean.turn_off - conditions: - condition: template value_template: "{% set entities = states.update\n | selectattr('state', 'eq', 'on')\n | map(attribute='entity_id')\n | select('in', integration_entities('esphome'))\n \ | list | count %}\n{{ entities == 0 }}\n" sequence: - target: entity_id: timer.esphome_updates_timer action: timer.cancel - data: title: ESPHome Devices message: All ESPHome devices are now up to date. action: notify.mobile_app_iphone_van_willem - conditions: - condition: template value_template: '{{ trigger is not none and trigger.platform == ''event'' }}' sequence: - data: title: ESPHome Devices message: 'Some ESPHome devices may not have updated successfully. Please check the ESPHome Add-on logs. ' action: notify.mobile_app_iphone_van_willem mode: single - id: '1761328588298' alias: slaap-trainer tim - bedtijd description: '' triggers: - at: input_datetime.slaaptrainer_bedtijd trigger: time id: bedtijd - at: input_datetime.slaaptrainer_wakkerworden trigger: time id: wakkerworden - trigger: state entity_id: - light.slaaptrainer_slaaptrainer_leds from: - unavailable to: conditions: [] actions: - choose: - conditions: - condition: trigger id: - bedtijd sequence: - target: entity_id: light.slaaptrainer_slaaptrainer_leds data: brightness_pct: 16 effect: star-orange action: light.turn_on - conditions: - condition: trigger id: - wakkerworden sequence: - target: entity_id: light.slaaptrainer_slaaptrainer_leds data: effect: Wipe In-green brightness_pct: 19 action: light.turn_on - delay: hours: 0 minutes: 15 seconds: 0 milliseconds: 0 - alias: leds green target: entity_id: - light.slaaptrainer_slaaptrainer_leds data: color_name: green brightness_pct: 16 rgb_color: - 102 - 156 - 53 action: light.turn_on mode: single - id: '1761406177545' alias: Lamp bed links description: '' use_blueprint: path: willumpie82/shelly-detached-input.yaml input: primary_input: binary_sensor.schakelaar_bed_links_1 lamp_entity: light.lamp_bed_links_dim secondary_input: binary_sensor.dsmr_reader_running - id: '1761406299764' alias: Lamp bed rechts description: '' use_blueprint: path: willumpie82/shelly-detached-input3.yaml input: primary_input: binary_sensor.schakelaar_bed_rechts_0 lamp_entity: light.lanp_bed_rechts_dim - id: '1764014728235' alias: Deurbel notificatie met snapshot description: Stuur een notificatie bij de deurbel met link naar snapshot en deur openen. triggers: - entity_id: binary_sensor.front_door_bezoeker to: 'on' trigger: state actions: - data: entity_id: camera.front_door_duidelijk filename: /config/www/snapshots/deurbel_snapshot.jpg action: camera.snapshot enabled: true - delay: 00:00:01 enabled: true - data: data: image: /local/snapshots/deurbel_snapshot.jpg actions: - action: '{{ action_open }}' title: "\U0001F513 Open deur" - action: URI title: open camera url: /lovelace/2 push: priority: high channel: alarm_stream message: de bel gaat title: dingdong action: notify.mobile_app_iphone_van_willem - data: data: image: /local/snapshots/deurbel_snapshot.jpg actions: - action: '{{ action_open }}' title: "\U0001F513 Open deur" destructive: true - action: URI title: open camera url: /lovelace/2 push: priority: high channel: alarm_stream message: de bel gaat title: dingdong action: notify.mobile_app_iphone_van_willem - wait_for_trigger: - event_type: mobile_app_notification_action event_data: action: '{{ action_open }}' trigger: event timeout: 00:00:20 continue_on_timeout: false - choose: - conditions: - condition: template value_template: '{{ wait.trigger.event.data.action == action_open }}' sequence: - target: entity_id: lock.voordeur action: lock.open data: {} variables: action_open: OPEN_DOOR mode: single - id: '1764014748824' alias: Open voordeur via notificatie description: Ontgrendel de voordeur wanneer op de knop in de notificatie wordt gedrukt. triggers: - event_type: mobile_app_notification_action event_data: action: OPEN_DEUR notification_id: open_door_notification trigger: event actions: - target: entity_id: lock.voordeur action: lock.unlock mode: single - id: '1764152745969' alias: Woonkamer verlichting automatisch description: '' triggers: - trigger: sun event: sunset offset: 0 id: sunset - trigger: time at: '22:30:00' id: uit conditions: [] actions: - choose: - conditions: - condition: trigger id: - sunset sequence: - action: light.turn_on metadata: {} data: {} target: device_id: 3bbf9bc0a07de0f76801fce9366f23fc entity_id: light.lamp_kast - action: script.kerst_aan metadata: {} data: {} - conditions: - condition: trigger id: - uit - type: is_not_occupied condition: device device_id: 95d0118df036203c9ba9666a638f4aa7 entity_id: 773342fe1c8ed884b90c7f65cd3aac41 domain: binary_sensor for: hours: 0 minutes: 20 seconds: 0 sequence: - action: light.turn_off metadata: {} data: {} target: area_id: woonkamer mode: single - id: '1764153380661' alias: Alles uit vragen bij deur op slot description: Interactieve notificatie wanneer voordeur wordt vergrendeld triggers: - entity_id: lock.voordeur to: locked trigger: state actions: - alias: Stuur interactieve notificatie data: title: Alles uitzetten? message: Je hebt de voordeur op slot gedaan. Wil je alles uitschakelen? data: actions: - action: TURN_OFF_ALL title: Ja - action: IGNORE title: Nee action: notify.notify - alias: Wacht op notificatie-actie wait_for_trigger: - event_type: mobile_app_notification_action event_data: action: TURN_OFF_ALL trigger: event timeout: 00:02:00 continue_on_timeout: false - action: script.alles_uit metadata: {} data: {} mode: single - id: '1764319487898' alias: knoppen bed links description: '' triggers: - device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_2 subtype: press trigger: device id: left_down_single alias: left down_single - device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_1 subtype: press trigger: device id: left_up_single alias: left up single - device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_1 subtype: double_press trigger: device id: left_up_double alias: left up double - alias: left up double device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_2 subtype: double_press trigger: device id: left_down_double - alias: right up double device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_3 subtype: long_press trigger: device id: right_up_double - alias: right up single device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_3 subtype: press trigger: device id: right_up_single - alias: right down single device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_4 subtype: press trigger: device id: right_down_single - alias: right down double device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_4 subtype: double_press trigger: device id: right_down_double - alias: right down double device_id: 2649e0fd343836ce7fe8323b5a93655c domain: bthome type: button_4 subtype: long_press trigger: device id: Left_down_long conditions: [] actions: - choose: - conditions: - condition: trigger id: - left_up_single sequence: - action: light.toggle metadata: {} data: brightness_pct: 41 target: entity_id: light.lamp_bed_links_dim - conditions: - condition: trigger id: - right_up_single sequence: - action: light.toggle metadata: {} data: brightness_pct: 41 target: entity_id: light.lamp_slaapkamer_2 - conditions: - condition: trigger id: - left_up_single sequence: - action: light.toggle metadata: {} data: brightness_pct: 26 target: entity_id: light.lanp_bed_rechts_dim - conditions: - condition: trigger id: - right_down_single sequence: - choose: - conditions: - condition: or conditions: - condition: device device_id: ed986b7daa26aca29c5636403fecec82 domain: cover entity_id: cf5f60186168615423f7c8c4ca976ecd type: is_open - condition: device device_id: ed986b7daa26aca29c5636403fecec82 domain: cover entity_id: cf5f60186168615423f7c8c4ca976ecd type: is_opening sequence: - device_id: ed986b7daa26aca29c5636403fecec82 domain: cover entity_id: cf5f60186168615423f7c8c4ca976ecd type: close - action: button.press metadata: {} target: entity_id: button.ir_blaster_woonkamer_power data: {} - delay: hours: 0 minutes: 0 seconds: 2 milliseconds: 0 - action: button.press metadata: {} target: entity_id: button.ir_blaster_woonkamer_power data: {} - conditions: - condition: or conditions: - condition: device device_id: ed986b7daa26aca29c5636403fecec82 domain: cover entity_id: cf5f60186168615423f7c8c4ca976ecd type: is_closed - condition: device device_id: ed986b7daa26aca29c5636403fecec82 domain: cover entity_id: cf5f60186168615423f7c8c4ca976ecd type: is_closing sequence: - device_id: ed986b7daa26aca29c5636403fecec82 domain: cover entity_id: cf5f60186168615423f7c8c4ca976ecd type: open - action: button.press metadata: {} target: entity_id: button.ir_blaster_woonkamer_power data: {} - conditions: - condition: trigger id: - left_up_double sequence: - action: light.turn_on metadata: {} data: brightness_pct: 99 target: entity_id: light.lamp_bed_links_dim - conditions: - condition: trigger id: - right_up_double sequence: - action: light.turn_on metadata: {} data: brightness_pct: 99 target: entity_id: light.lamp_slaapkamer_2 - conditions: - condition: trigger id: - left_up_double sequence: - action: light.turn_on metadata: {} data: brightness_pct: 99 target: entity_id: light.lanp_bed_rechts_dim - conditions: - condition: trigger id: - Left_down_long sequence: - device_id: ed986b7daa26aca29c5636403fecec82 domain: cover entity_id: cf5f60186168615423f7c8c4ca976ecd type: stop mode: single - id: '1764697100708' alias: dim the lights when TV on description: '' triggers: - type: turned_on device_id: d7efcb1ed9220728ed0e3388309a4a86 entity_id: 835f0fd9ecb2ae5b3282e3b3f49bbf94 domain: remote trigger: device conditions: - condition: state entity_id: binary_sensor.beweging_zolder_ep_lite_zone_2_occupancy state: - 'off' actions: - action: light.turn_on metadata: {} data: brightness_pct: 38 target: entity_id: light.lamp_tafel - action: light.turn_on metadata: {} data: brightness_pct: 70 target: entity_id: light.lamp_kast mode: single - id: '1766062772355' alias: 'Wekker: Bedlamp geleidelijk aan bij aanwezigheid' description: Start faden bedlamp mits iPhone thuis is triggers: - at: input_datetime.iphone_next_alarm trigger: time conditions: - condition: template value_template: '{{ state_attr(''input_datetime.iphone_next_alarm'', ''hour'') != 0 }}' - condition: state entity_id: device_tracker.iphone_van_willem_2 state: home actions: - action: light.turn_on target: entity_id: light.lamp_bed_links_dim data: brightness_pct: 60 transition: 900 mode: single - id: '1766063490782' alias: wekker verlichting description: '' use_blueprint: path: r3mcos3/alarm_light.yaml input: alarm_sensor: sensor.garmin_connect_next_alarm_time person_entity: person.willem lights_target: entity_id: light.lamp_bed_links_dim brightness_pct: 9 weekday_selection: weekdays - id: '1767031482023' alias: Schakelaar overloop description: '' triggers: - device_id: 20400558bc79dabd3eef8163fb4a0c79 domain: shelly type: single_push subtype: button2 trigger: device id: Rechts enkel - device_id: 20400558bc79dabd3eef8163fb4a0c79 domain: shelly type: double_push subtype: button2 trigger: device id: Rechts dubbel conditions: [] actions: - choose: - conditions: - condition: trigger id: - Rechts enkel sequence: - action: light.toggle metadata: {} target: entity_id: light.lamp_badkamer data: {} - conditions: - condition: trigger id: - Rechts dubbel sequence: - action: input_boolean.toggle metadata: {} target: entity_id: input_boolean.in_de_douche data: {} mode: single - id: '1768375873128' alias: set woonkamer TRV external temperature description: '' triggers: - entity_id: sensor.temperatuur_woonkamer_temperatuur for: 00:00:30 trigger: state conditions: [] actions: - target: entity_id: number.verwarming_woonkamer_blu_external_temperature data: value: '{{ states(''sensor.temperatuur_woonkamer_temperatuur'') | float(20) }}' action: number.set_value mode: single - id: '1768677255411' alias: Lamp kantoor description: '' triggers: - device_id: 44635828f3e606accd12f83b58ae46b8 domain: shelly type: single_push subtype: button1 metadata: {} trigger: device conditions: [] actions: - action: light.toggle metadata: {} target: entity_id: light.lamp_kantoor_2 data: {} mode: single - id: '1768681346869' alias: schakelaar kantoor [bp] 1.3.1 description: '' use_blueprint: path: willumpie82/shelly-deteched-input131.yaml input: input_mode: button primary_input: binary_sensor.dsmr_reader_running shelly_device: 44635828f3e606accd12f83b58ae46b8 lamp_entity: light.lamp_kantoor_2 confirm_switch: switch.shelly_kantoor_confirm - id: '1768902527272' alias: Dashboard Willem – bepaal context triggers: - entity_id: - sensor.iphone16_willem_irk_area - input_select.dashboard_willem_dropdown trigger: state actions: - choose: - conditions: '{{ mode in [ ''Woonkamer'', ''Kantoor'', ''Slaapkamer Willem'', ''Slaapkamer Kids'', ''Keuken'', ''Badkamer'', ''Toilet'', ''Hal'' ] }}' sequence: - target: entity_id: input_select.dashboard_willem_context data: option: '{{ mode }}' action: input_select.select_option - conditions: '{{ mode == ''Auto'' and area in [ ''Woonkamer'', ''Kantoor'', ''Slaapkamer Willem'', ''Slaapkamer Kids'', ''Keuken'', ''Badkamer'', ''Toilet'', ''Hal'' ] }}' sequence: - target: entity_id: input_select.dashboard_willem_context data: option: '{{ area }}' action: input_select.select_option default: - target: entity_id: input_select.dashboard_willem_context data: option: Onbekend action: input_select.select_option mode: single variables: area: '{{ states(''sensor.iphone16_willem_irk_area'') }}' mode: '{{ states(''input_select.dashboard_willem_dropdown'') }}' - id: '1768908489597' alias: kantoor button2 scenes description: '' use_blueprint: path: willumpie82/shelly-deteched-input131.yaml input: input_mode: button action_mode: custom primary_input: binary_sensor.dsmr_reader_running shelly_device: 44635828f3e606accd12f83b58ae46b8 button_subtype: button2 lamp_entity: light.beweging_zolder_ep_lite_esp32_led custom_on: [] custom_single: - if: - condition: light.is_on target: entity_id: light.lamp_kantoor_2 options: behavior: any then: - action: scene.turn_on metadata: {} data: {} target: entity_id: scene.kantoor_uit else: - action: scene.turn_on metadata: {} target: entity_id: scene.kantoor_werk data: {} custom_double: - action: scene.turn_on metadata: {} data: {} target: entity_id: scene.kantoor_voorlezen confirm_switch: switch.shelly_kantoor_confirm - id: '1770749442539' alias: Aqara W100 Thermostat Synchronization description: '' use_blueprint: path: KipK/w100-blueprint.yaml input: main_thermostat: climate.thermostaat_keuken aqara_w100: climate.thermostaat_keuken_w100 enable_external_data: false external_temperature_sensor: sensor.temperatuur_keuken_temperatuur hvac_has_heat: true hvac_has_auto: true - id: '1771686243604' alias: beweging keuken - display description: '' use_blueprint: path: Blackshome/sensor-light.yaml input: motion_trigger: - binary_sensor.beweging_keuken light_switch: entity_id: switch.display_keuken_scherm time_delay: 2 - id: '1771836870389' alias: Meshcore - SNR Info Repeater description: Collect SNR data of the last hop triggers: - trigger: event event_type: meshcore_raw_event event_data: event_type: EventType.RX_LOG_DATA conditions: - condition: and conditions: - condition: or conditions: - condition: template value_template: '{{ trigger.event.data.payload.payload[0:2] | int(0) == 5 }}' - condition: template value_template: '{{ trigger.event.data.payload.payload [0:2]| int(0) == 11 }}' - condition: template value_template: '{{ trigger.event.data.payload.payload[0:2] | int(0) == 15 }}' - condition: template value_template: '{{ trigger.event.data.payload.payload[2:4] | int(1) != 0 }}' actions: - variables: payload: '{{ trigger.event.data.payload }}' short: '{{ trigger.event.data.payload.payload }}' hops: '{{ short[2:4] | int(0) }}' origin: '{{ short[0:2] | int(0) }}' start: '{{ hops * 2 + 4 | int }}' path: '{{ short[4:start] }}' contact: '{{ path[-2:] }}' entity: sensor.meshcore_snr_{{ contact }} - if: - condition: template value_template: '{{ states[entity] == None }}' then: - action: script.meshcore_snr data: contact: '{{ contact }}' - action: mqtt.publish metadata: {} data: topic: meshcore/snr/{{ contact }} payload: "{\n \"snr\":\"{{ payload.snr | float(1) }}\",\n \"rssi\":\"{{ payload.rssi }}\",\n \"path\":\"{{ path }}\",\n \"hops\":\"{{ hops }}\",\n \"origin\":\"{{ origin }}\",\n \"timestamp\":\"{{ trigger.event.data.timestamp | int }}\"\n}" qos: '0' retain: true - action: homeassistant.add_label_to_entity metadata: {} data: label_id: - contact entity_id: - sensor.meshcore_snr_{{ contact }} mode: single - id: '1771837179491' alias: MeshCore - Advert Trigger description: Sends a MeshCore advert when desired triggers: - trigger: time_pattern hours: '3' minutes: '25' id: TIME - trigger: state entity_id: - sensor.meshcore_b6b703_node_count_dblu_htv4 not_to: - unavailable - unknown not_from: - unavailable - unknown enabled: false conditions: - condition: or conditions: - condition: trigger id: - TIME - condition: template value_template: '{{ trigger.to_state.state|float > trigger.from_state.state|float }}' actions: - data: command: send_advert true action: meshcore.execute_command mode: single - id: '1772100201686' alias: Beweging meterkast (contact-sensor) description: '' triggers: - trigger: state entity_id: - binary_sensor.contact_meterkastdeur from: - 'on' to: - 'off' conditions: [] actions: - action: light.turn_off metadata: {} target: entity_id: light.lamp_meterkast data: {} mode: single - id: '1772926507570' alias: Welterusten met AI tekst description: AI genereert welterusten-bericht met wektijd triggers: - entity_id: light.lamp_bed_links_dim to: 'off' trigger: state conditions: - condition: time after: '22:00:00' before: 01:00:00 actions: - variables: wekker: '{{ states(''sensor.iphone_vlg_wekker_status'') }}' wektijd: '{% if wekker not in [''unknown'',''unavailable'','''',none] %} morgen om {{ as_timestamp(wekker) | timestamp_custom(''%H:%M'') }} {% else %} zonder wekker {% endif %} ' - response_variable: ai_antwoord data: text: 'Schrijf een korte, vriendelijke welterustenboodschap in het Nederlands. vertel op een leuke manier dat de wekker om {{ wektijd }} gaat . Houd het informeel en huiselijk. ' agent_id: conversation.google_generative_ai action: conversation.process - data: cache: true media_player_entity_id: media_player.voice_zolder_media_player message: '{{ ai_antwoord.response.speech.plain.speech }}' action: tts.speak target: entity_id: tts.home_assistant_cloud mode: single