- alias: Activate near-time reporting of Qingping Air Sensor triggers: - trigger: homeassistant event: start - trigger: time at: - 03:00:00 actions: - action: mqtt.publish data: topic: qingping/582D34700B3E/down payload: '{"type": "12", "up_itvl": "15" ,"duration": "86400"}' id: a20cb2c8aa6253f8607bc3572ecd25d8a3d279f8 - alias: 'Alarm: Disarm night alarm in the morning' triggers: - trigger: time at: input_datetime.armed_night_disarm conditions: - condition: state entity_id: alarm_control_panel.wohnung state: - armed_night actions: - action: alarm_control_panel.alarm_disarm target: entity_id: alarm_control_panel.wohnung mode: single id: 62654b9ca8dc9520c050c32090e2913e00a26734 - alias: 'Alarm: Disarm alarm' triggers: - trigger: event event_type: mobile_app_notification_action event_data: action: ALARMO_DISARM conditions: - condition: state entity_id: alarm_control_panel.wohnung state: - armed_away - armed_home - armed_night - armed_vacation - armed_custom_bypass actions: - action: alarm_control_panel.alarm_disarm target: entity_id: alarm_control_panel.wohnung mode: single id: 68626b24f3c3af0d212fc1e6980170175a2d8511 - id: '1693070991630' alias: NFC Tag Türschloss Aufzug ist gescannt description: '' triggers: - trigger: tag tag_id: 902a7052-91d5-47db-b2b3-dbece01623dd conditions: [] actions: - action: lock.open data: {} target: device_id: d6325d0109b417afa62944da7e7ee0df mode: single - id: '1693071058017' alias: NFC Tag Türschloss Treppenhaus ist gescannt description: '' triggers: - trigger: tag tag_id: 006914a9-f479-4bb7-9d8e-aeea021d770f conditions: [] actions: - action: lock.open data: {} target: device_id: 792108c8263345ed87a1ccd398324627 mode: single - id: '1694171387973' alias: NFC Tag Garagentor ist gescannt description: '' triggers: - trigger: tag tag_id: 6e379d86-41cc-4330-9073-4bacf10eed83 conditions: [] actions: - action: button.press data: {} target: entity_id: button.garagentor_trigger mode: single - id: '1694361837997' alias: Viererschalter (1 single) description: Steckdose Arbeitszimmer umschalten triggers: - trigger: device domain: mqtt device_id: 602cb004388e68d6a3da810f98d17765 type: action subtype: 1_single discovery_id: 0x943469fffe5f6a37 action_1_single conditions: [] actions: - action: switch.toggle data: {} target: entity_id: switch.steckdose_arbeitszimmer_switch mode: single - id: '1694361945803' alias: Viererschalter (2 single) description: Roon Arbeitszimmer umschalten triggers: - trigger: device domain: mqtt device_id: 602cb004388e68d6a3da810f98d17765 type: action subtype: 2_single discovery_id: 0x943469fffe5f6a37 action_2_single conditions: [] actions: - action: switch.toggle data: {} target: entity_id: switch.switch_flur_roon_arbeitszimmer_poe mode: single - id: '1694724129228' alias: Viererschalter (3 single) description: Licht Arbeitszimmer umschalten triggers: - trigger: device domain: mqtt device_id: 602cb004388e68d6a3da810f98d17765 type: action subtype: 3_single discovery_id: 0x943469fffe5f6a37 action_3_single conditions: [] actions: - action: switch.toggle data: {} target: entity_id: switch.licht_arbeitszimmer mode: single - id: '1736026127099' alias: Toggle switch Arbeitszimmer Technik/Schreibtisch description: '' triggers: - domain: mqtt device_id: c4d827dafc2876cd497485950c3d792f type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: device_id: b21b4f3a64a4f34540a59837b82195a1 mode: single - id: '1736026905613' alias: Toggle switch Nino Roon description: '' triggers: - domain: mqtt device_id: fd4756c33912ee5b4b24aa9f61f8d499 type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: entity_id: switch.switch_flur_roon_nino_poe mode: single - id: '1736026986736' alias: Toggle switch Noah Roon description: '' triggers: - domain: mqtt device_id: f61a20235903013871386cb976d38a44 type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: entity_id: switch.switch_flur_roon_noah_poe mode: single - id: '1736027106617' alias: Toggle switch Wohnzimmer Wi-Fi AP description: '' triggers: - domain: mqtt device_id: f72536653a874570cb53c69452146156 type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: entity_id: switch.switch_flur_ap_wohnzimmer_poe mode: single - id: '1736027200011' alias: Toggle switch Schlafzimmer Wi-Fi AP description: '' triggers: - domain: mqtt device_id: dd40ea6c6408e38416e4b76c2534302d type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: entity_id: switch.switch_flur_ap_schlafzimmer_poe mode: single - id: '1736027259144' alias: Toggle switch Nino Wi-Fi AP description: '' triggers: - domain: mqtt device_id: 70614c4bf8c85d95af39cde746b30e21 type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: entity_id: switch.switch_flur_ap_nino_poe mode: single - id: '1736027375789' alias: Toggle switch Wohnzimmer TV description: '' triggers: - domain: mqtt device_id: 759eb63dc9f4b693f03084e618180f52 type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: entity_id: switch.steckdose_wohnzimmer_tv_switch mode: single - id: '1736027447221' alias: Toggle switch Küche Oberschrank description: '' triggers: - domain: mqtt device_id: d4103307981aa0350b057965c22748de type: action subtype: single trigger: device conditions: [] actions: - action: switch.toggle metadata: {} data: {} target: entity_id: switch.steckdose_kueche_oberschrank mode: single - id: '1736027603550' alias: Toggle automation Ankleide motion detector description: '' triggers: - domain: mqtt device_id: 9a58b1acd415cbb6dbab3320af7ff2e4 type: action subtype: single trigger: device conditions: [] actions: - action: automation.toggle metadata: {} data: {} target: entity_id: automation.motion_activated_switch_ankleide_2 mode: single - id: '1736028547099' alias: Rundruf Essen ist fertig description: '' triggers: - domain: mqtt device_id: 196f83e07e56ca9dbe0cca4bf1f6f96a type: action subtype: single trigger: device conditions: [] actions: - action: media_player.media_pause target: entity_id: - media_player.nino - media_player.noah data: {} - action: notify.alexa_media data: message: Essen ist fertig! target: media_player.flur data: type: announce mode: single - id: '1736028619708' alias: Rundruf Kommen description: '' triggers: - domain: mqtt device_id: 196f83e07e56ca9dbe0cca4bf1f6f96a type: action subtype: double trigger: device conditions: [] actions: - action: media_player.media_pause target: entity_id: - media_player.nino - media_player.noah data: {} - action: notify.alexa_media data: message: Kommt mal her! target: media_player.flur data: type: announce mode: single - id: '1736029276783' alias: Toggle automation Küche motion detector description: '' triggers: - domain: mqtt device_id: d4103307981aa0350b057965c22748de type: action subtype: double trigger: device conditions: [] actions: - action: automation.toggle metadata: {} data: {} target: entity_id: automation.motion_activated_switch_kuche_2 - choose: - conditions: - condition: state entity_id: automation.motion_activated_switch_kuche_2 state: 'on' sequence: - action: notify.alexa_media_kuche metadata: {} data: message: Präsenzmelder ist angeschaltet - conditions: - condition: state entity_id: automation.motion_activated_switch_kuche_2 state: 'off' sequence: - action: notify.alexa_media_kuche metadata: {} data: message: Präsenzmelder ist ausgeschaltet mode: single - id: '1755295147099' alias: Überflutungsalarm description: '' triggers: - trigger: state entity_id: - binary_sensor.leak to: 'on' for: hours: 0 minutes: 0 seconds: 10 conditions: [] actions: - action: notify.parents_mobiles metadata: {} data: message: Im Keller ist möglicherweise Wasser eingetreten! title: Überflutungsalarm - action: notify.alexa_media_flur metadata: {} data: message: Im Keller ist möglicherweise Wasser eingetreten! enabled: false mode: single - alias: KLF reboot on Home Assistant shutdown description: Reboots the KLF200 in order to avoid SSL Handshake issue triggers: - trigger: homeassistant event: shutdown actions: - action: velux.reboot_gateway id: ebc073c2c786877704b0bc82e5c78fe94822d54e - alias: Export power meter to Google Sheets triggers: trigger: time_pattern minutes: /15 conditions: condition: numeric_state entity_id: sensor.last_meter_consumption_zuhause above: 0 actions: - action: google_sheets.append_sheet data: config_entry: d4c1ba49aae5a528a9d94645412bfb32 worksheet: Power Meter data: time: '{{ utcnow() | as_timestamp | round }}' consumption: '{{ states(''sensor.last_meter_consumption_zuhause'') | float(0) }}' electricity_price: 0.2912 production: '{{ states(''sensor.solartisch_yieldtotal'') | float(0) }}' id: d698e01895aab3aead886032a61e945c169dd5b6 - alias: Tibber Reload triggers: trigger: state entity_id: sensor.last_meter_consumption_zuhause for: hours: 0 minutes: 5 seconds: 0 actions: - action: homeassistant.reload_config_entry data: entry_id: 25ee964f751e61a9c053d2e5932b56a8 mode: single id: e9d1b7990a76e7c8a9af0b400e0b9e435f0a5ca5 - alias: ESPHome Firmware Update triggers: - trigger: state entity_id: input_button.esphome_update actions: - action: script.esphome_update id: 560ecaef020710fe56d82a862328209e524dc816 - alias: Turn off light at night (Terrasse) triggers: - trigger: time at: 00:00:00 actions: - action: switch.turn_off target: entity_id: switch.licht_terrasse id: 986d8fc3ada8f9a3189839d2a6129d61b86ffafb - alias: Motion-activated switch (Ankleide) description: '' use_blueprint: path: local/motion_switch.yaml input: motion_entity: binary_sensor.ankleide_motion_sensor_occupancy illuminance_entity: sensor.ankleide_motion_sensor_illuminance max_illuminance: 50 no_motion_wait: 30 switch_entity: switch.licht_ankleide id: de06c94d9f653c5bec9a63f691f695d00be55ceb - alias: Motion-activated switch (Abstellkammer) description: '' use_blueprint: path: local/motion_switch.yaml input: motion_entity: binary_sensor.bewegungssensor_abstellkammer_motion_detection illuminance_entity: sensor.bewegungssensor_abstellkammer_illuminance max_illuminance: 50 no_motion_wait: 30 switch_entity: switch.licht_abstellkammer id: 17d77010fb15ef2b31b998f84061ba712feae824 - alias: Motion-activated switch (Abstellkammer Terrasse) description: '' use_blueprint: path: local/motion_switch.yaml input: motion_entity: binary_sensor.bewegungssensor_abstellkammer_terrasse_motion_detection illuminance_entity: sensor.bewegungssensor_abstellkammer_terrasse_illuminance max_illuminance: 50 no_motion_wait: 30 switch_entity: switch.licht_abstellkammer_terrasse id: 5515115774a657a7926c70b2f2d5bbc6e1fc65e4 - alias: Motion-activated light (Flur) description: '' use_blueprint: path: local/motion_light.yaml input: motion_entity: binary_sensor.flur_motion_sensor_occupancy illuminance_entity: sensor.flur_motion_sensor_illuminance max_illuminance: 20 no_motion_wait: 30 light_entity: light.flur id: 817e663b16db1110ce2068724e81619124e96c14 - alias: Motion-activated switch (Küche) description: '' use_blueprint: path: local/motion_switch.yaml input: motion_entity: binary_sensor.bewegungssensor_kuche_motion_detection illuminance_entity: sensor.bewegungssensor_kuche_illuminance max_illuminance: 100 no_motion_wait: 60 switch_entity: switch.steckdose_kueche_oberschrank id: 1172df0cb260b2ec865568f441cd7c5777916a3e - alias: Turn on Multimedia Devices triggers: - trigger: state entity_id: remote.wohnzimmer to: 'on' conditions: not: condition: state entity_id: select.wohnzimmer_activities state: Musik actions: - action: switch.turn_on entity_id: switch.steckdose_wohnzimmer_tv_switch id: ca1a524508a89623988e7d6ffb9d4d1c300ac74b - alias: Turn off Multimedia Devices triggers: - trigger: state entity_id: remote.wohnzimmer to: 'off' for: minutes: 5 actions: - action: switch.turn_off entity_id: switch.steckdose_wohnzimmer_tv_switch id: c50a48a805c4ae5ed4dd46cff6d5ccabf6511bea - alias: Restart Node-RED triggers: - trigger: state entity_id: input_button.node_red_restart actions: - action: hassio.addon_restart data: addon: a0d7b954_nodered id: 7b4f14d00e65981ce0b4264d23aa53c434d8dafb - alias: Restart Node-RED on (re)start of Home Assistant (with a delay) triggers: - trigger: homeassistant event: start actions: - delay: seconds: 15 - action: input_button.press target: entity_id: input_button.node_red_restart id: 25f9cad10e37086bbcb78a5c79e26ea0a2861383 - alias: Telegram callback to acknowledge storm alerts triggers: - trigger: event event_type: telegram_callback event_data: command: /storm_acknowledge actions: - action: alert.turn_off target: entity_id: alert.storm id: 6ff31fd57341aa02d0931f1e04a72589ecdab9e5 - alias: Telegram callback to close marquee triggers: - trigger: event event_type: telegram_callback event_data: command: /close_marquee actions: - action: cover.close_cover target: entity_id: cover.roller_shutter_markise id: 0f0f8b39b928a528896ffdaa127f1f9ef14cea1b - alias: Skip Zigbee Dimmer Updates triggers: - trigger: state entity_id: input_button.skip_dimmer_updates actions: - action: script.skip_dimmer_updates id: f615b4e08dc497de692f231873669f5c82906253