- id: '1742925721017' alias: Klingel Haustür description: '' triggers: - trigger: state entity_id: - sensor.8000_state to: In use conditions: - condition: state entity_id: sensor.8000_connected_line attribute: Exten state: '7001' actions: - parallel: - if: - condition: state entity_id: input_boolean.schlaffmodus state: 'off' then: - action: media_player.play_media target: entity_id: - media_player.kuche - media_player.gallerie data: announce: true media_content_id: media-source://media_source/local/hass_media/doorbell.wav media_content_type: audio/x-wav extra: volume: 0 - sequence: - action: camera.snapshot metadata: {} data: filename: /config/www/snapshot/doorbell.jpg target: entity_id: camera.haustur - action: script.cobe_haus_benachrichtigung_mit_bild metadata: {} data: title: COBE Haus - Hausdier message: Et ass een un der Hausdier. image: https://hass.cobe.space/local/snapshot/doorbell.jpg - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.videophone_anzeigen - delay: hours: 0 minutes: 2 seconds: 0 milliseconds: 0 - action: input_boolean.turn_off metadata: {} data: {} target: entity_id: input_boolean.videophone_anzeigen - sequence: - action: llmvision.image_analyzer metadata: {} data: include_filename: false max_tokens: 150 temperature: 0.2 provider: 01JS9H5VFVF5YSYCFB9YW4G0TN image_entity: - camera.haustur model: gemma3:12b target_width: 1025 message: 'Beschreibe kurz und knapp das Bild meiner Haustürkamera auf Deutsch. Wieviele Person siehst du? Ignoriere das weiße Haus im Hintergrund. Konzentriere die Beschreibung auf Personen, Fahrzeuge oder sonstige Auffälligkeiten. Antworte bloß mit der Beschreibung und sonst nichts.' expose_images: false response_variable: doorbell - action: script.cobe_haus_benachrichtigung metadata: {} data: message: '{{ doorbell.response_text }}' title: COBE Haus - Hausdier mode: restart - id: '1743358810428' alias: Einschlaffmodus einschalten description: '' triggers: - trigger: state entity_id: - binary_sensor.einschlaffmodus_zeitsensor from: 'off' to: 'on' - trigger: state entity_id: - binary_sensor.schlaffmodus_helligkeit for: hours: 0 minutes: 5 seconds: 0 from: 'off' to: 'on' conditions: - condition: state entity_id: input_boolean.einschlaffmodus state: 'off' - condition: state entity_id: input_boolean.schlaffmodus state: 'off' - condition: state entity_id: binary_sensor.einschlaffmodus_zeitsensor state: 'on' - condition: state entity_id: binary_sensor.schlaffmodus_helligkeit state: 'on' actions: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.einschlaffmodus mode: single - id: '1743361311728' alias: Schlaffmodus einschalten description: '' triggers: - trigger: time at: '22:00:00' conditions: [] actions: - action: input_boolean.turn_off metadata: {} data: {} target: entity_id: input_boolean.einschlaffmodus - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.schlaffmodus mode: single - id: '1743361716570' alias: Schlaffmodus ausschalten description: '' triggers: - trigger: state entity_id: - binary_sensor.aufwachmodus_zeitsensor from: 'off' to: 'on' - trigger: state entity_id: - binary_sensor.schlaffmodus_helligkeit from: 'on' to: 'off' for: hours: 0 minutes: 5 seconds: 0 conditions: - condition: state entity_id: binary_sensor.aufwachmodus_zeitsensor state: 'on' - condition: state entity_id: binary_sensor.schlaffmodus_helligkeit state: 'off' for: hours: 0 minutes: 5 seconds: 0 actions: - action: input_boolean.turn_off metadata: {} data: {} target: entity_id: input_boolean.schlaffmodus mode: single - id: '1743362231963' alias: Rollaten automatisch schließen description: '' triggers: - trigger: state entity_id: - input_boolean.einschlaffmodus from: 'off' to: 'on' conditions: - condition: state entity_id: input_boolean.rolladenautomatik state: 'on' - condition: state entity_id: input_boolean.rolladen_automatisch_offnen_schliessen state: 'on' actions: - action: automation.turn_off metadata: {} data: stop_actions: true target: entity_id: automation.automatik_fur_einzelne_rolladen_blockieren - action: cover.close_cover metadata: {} data: {} target: floor_id: - obergeschoss_2 - obergeschoss_1 - erdgeschoss - delay: hours: 0 minutes: 0 seconds: 30 milliseconds: 0 - action: automation.turn_on metadata: {} data: {} target: entity_id: automation.automatik_fur_einzelne_rolladen_blockieren mode: single - id: '1743363549729' alias: Rolladen automatisch öffnen description: '' triggers: - trigger: state entity_id: - input_boolean.schlaffmodus from: 'on' to: 'off' - trigger: time at: 09:00:00 conditions: [] actions: - action: automation.turn_off metadata: {} data: stop_actions: true target: entity_id: automation.automatik_fur_einzelne_rolladen_blockieren - action: cover.open_cover metadata: {} data: {} target: floor_id: erdgeschoss area_id: - badezimmer - gallerie - badezimmer_og2 - millie - if: - condition: time after: 09:00:00 then: - action: cover.open_cover metadata: {} data: {} target: area_id: - emil - schlafzimmer - delay: hours: 0 minutes: 0 seconds: 30 milliseconds: 0 - action: automation.turn_on metadata: {} data: {} target: entity_id: automation.automatik_fur_einzelne_rolladen_blockieren mode: single - id: '1743363740983' alias: Nachtsbeleuchtung einschalten description: '' triggers: - trigger: state entity_id: - input_boolean.einschlaffmodus from: 'off' to: 'on' conditions: [] actions: - action: light.turn_on metadata: {} data: brightness_pct: 1 target: entity_id: - light.lda_og1_th_01 - light.lda_eg_th_01 mode: single - id: '1743363942165' alias: Nachtsbeleuchtung ausschalten description: '' triggers: - trigger: state entity_id: - input_boolean.schlaffmodus from: 'on' to: 'off' conditions: [] actions: - action: light.turn_off metadata: {} target: entity_id: - light.lda_og1_th_01 - light.lda_eg_th_01 data: {} mode: single - id: '1743597550070' alias: Küche im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.l_eg_ku_01 - light.lda_eg_ku_01 - light.lda_eg_ku_02 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.l_eg_ku_01 state: 'on' - condition: state entity_id: light.lda_eg_ku_01 state: 'on' - condition: state entity_id: light.lda_eg_ku_02 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.kuche_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.kuche_anzeigen mode: single - id: '1743598217150' alias: Wohzimmer im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.lda_eg_wz_01 - light.lda_eg_wz_02 - light.ld_eg_wz_01 - light.ld_eg_wz_02 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.lda_eg_wz_01 state: 'on' - condition: state entity_id: light.lda_eg_wz_02 state: 'on' - condition: state entity_id: light.ld_eg_wz_01 state: 'on' - condition: state entity_id: light.ld_eg_wz_02 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.wohnzimmer_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.wohnzimmer_anzeigen mode: single - id: '1743598510606' alias: Emil Zimmer im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.lda_og1_sz1_01 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.lda_og1_sz1_01 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.emil_zimmer_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.emil_zimmer_anzeigen mode: single - id: '1743598616558' alias: Millie Zimmer im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.lda_og1_sz2_01 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.lda_og1_sz2_01 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.millie_zimmer_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.millie_zimmer_anzeigen mode: single - id: '1743598967781' alias: Kinder Badzimmer im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.lda_og1_bz_01 - light.lda_og1_bz_02 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.lda_og1_bz_01 state: 'on' - condition: state entity_id: light.lda_og1_bz_02 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.kinderbadezimmer_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.kinderbadezimmer_anzeigen mode: single - id: '1743599029849' alias: Badezimmer im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.lda_og2_bz_01 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.lda_og2_bz_01 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.badezimmer_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.badezimmer_anzeigen mode: single - id: '1743599124418' alias: Schlaffzimmer im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.lda_og2_sz_01 - light.l_og2_sz_02 - light.l_og2_sz_03 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.lda_og2_sz_01 state: 'on' - condition: state entity_id: light.l_og2_sz_02 state: 'on' - condition: state entity_id: light.l_og2_sz_03 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.schlaffzimmer_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: input_boolean.schlaffzimmer_anzeigen mode: single - id: '1743607057910' alias: Präsenzmelder Flur description: '' triggers: - trigger: state entity_id: - switch.se_og1_fl_pr from: 'off' to: 'on' conditions: [] actions: - if: - condition: and conditions: - condition: state entity_id: input_boolean.schlaffmodus state: 'off' - condition: state entity_id: input_boolean.einschlaffmodus state: 'off' - condition: numeric_state entity_id: sensor.se_og1_fl_lux below: input_number.helligkeit_flur then: - action: light.turn_on metadata: {} data: brightness_pct: 10 transition: 2 target: entity_id: - light.lda_eg_th_01 - light.lda_og1_th_01 - action: light.turn_on metadata: {} data: brightness_pct: 25 transition: 2 target: entity_id: - light.lda_og1_fl_01 - light.lda_og2_fl_01 - delay: hours: 0 minutes: 0 seconds: 30 milliseconds: 0 - action: light.turn_off metadata: {} target: entity_id: - light.lda_eg_th_01 - light.lda_og1_th_01 - light.lda_og1_fl_01 - light.lda_og2_fl_01 data: transition: 2 - if: - condition: and conditions: - condition: state entity_id: input_boolean.schlaffmodus state: 'off' - condition: state entity_id: input_boolean.einschlaffmodus state: 'on' - condition: numeric_state entity_id: sensor.se_og1_fl_lux below: input_number.helligkeit_flur then: - action: light.turn_on metadata: {} data: brightness_pct: 10 transition: 2 target: entity_id: - light.lda_eg_th_01 - light.lda_og1_th_01 - action: light.turn_on metadata: {} data: brightness_pct: 25 transition: 2 target: entity_id: - light.lda_og1_fl_01 - light.lda_og2_fl_01 - delay: hours: 0 minutes: 0 seconds: 30 milliseconds: 0 - action: light.turn_off metadata: {} target: entity_id: - light.lda_og1_fl_01 - light.lda_og2_fl_01 data: transition: 2 - action: light.turn_on metadata: {} data: brightness_pct: 1 transition: 2 target: entity_id: - light.lda_eg_th_01 - light.lda_og1_th_01 mode: restart - id: '1743608601041' alias: 3D-Print abgeschloßen description: '' triggers: - trigger: state entity_id: - sensor.octoprint_current_state from: Printing to: Operational conditions: - condition: state entity_id: input_boolean.schlaffmodus state: 'off' actions: - action: media_player.play_media target: entity_id: - media_player.kuche - media_player.gallerie data: announce: true media_content_id: media-source://media_source/local/hass_media/3dprint_finish.mp3 media_content_type: audio/x-wav extra: volume: 15 - action: script.cobe_haus_benachrichtigung metadata: {} data: title: COBE Haus message: Den 3D-Drock as ferdech. mode: single - id: '1743656523388' alias: Präsenzmelder Eingangsbereich description: '' triggers: - trigger: state entity_id: - switch.se_au_eg_pr from: 'off' to: 'on' conditions: - condition: numeric_state entity_id: sensor.se_au_eg_lux below: 10 actions: - action: light.turn_on metadata: {} data: brightness_pct: 20 transition: 2 target: entity_id: light.lda_au_ga_01 - delay: hours: 0 minutes: 0 seconds: 30 milliseconds: 0 - action: light.turn_off metadata: {} data: {} target: entity_id: light.lda_au_ga_01 mode: restart - id: '1743952518641' alias: Beschattung Westen description: '' triggers: - trigger: time_pattern minutes: /15 - trigger: numeric_state entity_id: - sensor.sun_solar_azimuth id: ShadeOff above: input_number.beschattung_azimut_west_ende - trigger: numeric_state entity_id: - sensor.sun_solar_elevation id: ShadeOff below: input_number.beschattung_elevation - trigger: state entity_id: - weather.forecast_home to: - Regnerisch - Bewölkt - Nebel - Strömender Regen - Hagel - Gewitter, regnerisch - Gewitter - Schneeregen - Schneefall - Windig - Windig, bewölkt id: ShadeOff - trigger: state entity_id: - weather.forecast_home conditions: - condition: or conditions: - condition: and conditions: - condition: numeric_state entity_id: sensor.sun_solar_azimuth above: input_number.beschattung_azimut_west_start below: input_number.beschattung_azimut_west_ende - condition: numeric_state entity_id: sensor.sun_solar_elevation above: input_number.beschattung_elevation - condition: or conditions: - condition: state entity_id: weather.forecast_home state: partlycloudy - condition: state entity_id: weather.forecast_home state: sunny - condition: trigger id: - ShadeOff - condition: state entity_id: input_boolean.rolladenautomatik state: 'on' - condition: state entity_id: input_boolean.rolladen_automatisch_beschatten state: 'on' actions: - action: automation.turn_off metadata: {} data: stop_actions: true target: entity_id: automation.automatik_fur_einzelne_rolladen_blockieren - if: - condition: trigger id: - ShadeOff then: - if: - condition: state entity_id: input_boolean.block_r_eg_wz_01 state: 'off' then: - action: cover.open_cover metadata: {} data: {} target: entity_id: cover.r_eg_wz_01 else: - if: - condition: state entity_id: input_boolean.block_r_eg_wz_01 state: 'off' then: - action: cover.set_cover_position metadata: {} data: position: 20 target: entity_id: cover.r_eg_wz_01 - if: - condition: trigger id: - ShadeOff then: - if: - condition: state entity_id: input_boolean.block_r_og1_bi_01 state: 'off' then: - action: cover.open_cover metadata: {} data: {} target: entity_id: - cover.r_og1_bi_01 else: - if: - condition: state entity_id: input_boolean.block_r_og1_bi_01 state: 'off' then: - action: cover.set_cover_position metadata: {} data: position: 20 target: entity_id: cover.r_og1_bi_01 - delay: hours: 0 minutes: 1 seconds: 0 milliseconds: 0 - action: automation.turn_on metadata: {} data: {} target: entity_id: automation.automatik_fur_einzelne_rolladen_blockieren mode: single - id: '1743957027473' alias: Automatik für einzelne Rolladen blockieren description: '' triggers: - trigger: time at: '23:59:00' id: Reset - trigger: state entity_id: - cover.r_eg_wz_01 id: R_EG_WZ_01 - trigger: state entity_id: - cover.r_og1_bi_01 id: R_OG1_BI_01 conditions: [] actions: - if: - condition: trigger id: - Reset then: - action: input_boolean.turn_off metadata: {} data: {} target: entity_id: input_boolean.block_r_eg_wz_01 - if: - condition: trigger id: - R_EG_WZ_01 then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: input_boolean.block_r_eg_wz_01 - if: - condition: trigger id: - R_OG1_BI_01 then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: - input_boolean.block_r_og1_bi_01 mode: single - id: '1745042137394' alias: 'Sonos: RTL wiedergeben' description: '' triggers: [] conditions: [] actions: - action: media_player.volume_set metadata: {} data: volume_level: 0.3 target: entity_id: - media_player.kuche - media_player.gallerie - action: media_player.play_media target: entity_id: - media_player.gallerie - media_player.kuche data: media_content_id: media-source://radio_browser/960ef824-0601-11e8-ae97-52543be04c81 media_content_type: audio/mpeg metadata: title: RTL Radio Letzebuerg thumbnail: http://www.rtl.lu/assets/images/favicon-rtllu/apple-touch-icon.png?v=202304271020 media_class: music children_media_class: navigateIds: - {} - media_content_type: app media_content_id: media-source://radio_browser - media_content_type: music media_content_id: media-source://radio_browser/country/LU mode: single - id: '1745042595220' alias: 'Sonos: Eldoradio wiedergeben' description: '' triggers: [] conditions: [] actions: - action: media_player.volume_set metadata: {} data: volume_level: 0.3 target: entity_id: - media_player.kuche - media_player.gallerie - action: media_player.play_media target: entity_id: - media_player.kuche - media_player.gallerie data: media_content_id: media-source://radio_browser/9611e44f-0601-11e8-ae97-52543be04c81 media_content_type: audio/mpeg metadata: title: Eldoradio thumbnail: '' media_class: music children_media_class: navigateIds: - {} - media_content_type: app media_content_id: media-source://radio_browser - media_content_type: music media_content_id: media-source://radio_browser/country/LU mode: single - id: '1745161619601' alias: Beleuchtung Garage description: '' triggers: - trigger: state entity_id: - binary_sensor.garage_ben - binary_sensor.garage_conny to: 'on' conditions: [] actions: - action: light.turn_on metadata: {} data: {} target: entity_id: light.l_au_ga_01 - wait_for_trigger: - trigger: state entity_id: - binary_sensor.garage_ben - binary_sensor.garage_conny from: 'on' to: 'off' for: hours: 0 minutes: 1 seconds: 0 timeout: hours: 0 minutes: 10 seconds: 0 milliseconds: 0 - action: light.turn_off metadata: {} data: {} target: entity_id: light.l_au_ga_01 mode: single - id: '1745163313518' alias: Gallerie im Dashboard anzeigen description: '' triggers: - trigger: state entity_id: - light.lda_og1_bi_01 conditions: [] actions: - if: - condition: or conditions: - condition: state entity_id: light.lda_og1_bi_01 state: 'on' then: - action: input_boolean.turn_on metadata: {} data: {} target: entity_id: - input_boolean.gallerie_anzeigen else: - action: input_boolean.turn_off data: {} target: entity_id: - input_boolean.gallerie_anzeigen mode: single