diff --git a/.cache/brands/integrations/asterisk/dark_icon.png b/.cache/brands/integrations/asterisk/dark_icon.png new file mode 100644 index 0000000..b57be12 Binary files /dev/null and b/.cache/brands/integrations/asterisk/dark_icon.png differ diff --git a/.cache/brands/integrations/backup/dark_icon.png b/.cache/brands/integrations/backup/dark_icon.png new file mode 100644 index 0000000..a60580f Binary files /dev/null and b/.cache/brands/integrations/backup/dark_icon.png differ diff --git a/.cache/brands/integrations/bambu_lab/dark_icon.png b/.cache/brands/integrations/bambu_lab/dark_icon.png new file mode 100644 index 0000000..65a0943 Binary files /dev/null and b/.cache/brands/integrations/bambu_lab/dark_icon.png differ diff --git a/.cache/brands/integrations/bambu_lab/dark_icon@2x.png b/.cache/brands/integrations/bambu_lab/dark_icon@2x.png new file mode 100644 index 0000000..4efdd26 Binary files /dev/null and b/.cache/brands/integrations/bambu_lab/dark_icon@2x.png differ diff --git a/.cache/brands/integrations/bambu_lab/dark_logo.png b/.cache/brands/integrations/bambu_lab/dark_logo.png new file mode 100644 index 0000000..ea29138 Binary files /dev/null and b/.cache/brands/integrations/bambu_lab/dark_logo.png differ diff --git a/.cache/brands/integrations/dlna_dmr/dark_icon.png b/.cache/brands/integrations/dlna_dmr/dark_icon.png new file mode 100644 index 0000000..763d242 Binary files /dev/null and b/.cache/brands/integrations/dlna_dmr/dark_icon.png differ diff --git a/.cache/brands/integrations/esphome/dark_icon.png b/.cache/brands/integrations/esphome/dark_icon.png new file mode 100644 index 0000000..0a4a375 Binary files /dev/null and b/.cache/brands/integrations/esphome/dark_icon.png differ diff --git a/.cache/brands/integrations/esphome/dark_icon@2x.png b/.cache/brands/integrations/esphome/dark_icon@2x.png new file mode 100644 index 0000000..94a787e Binary files /dev/null and b/.cache/brands/integrations/esphome/dark_icon@2x.png differ diff --git a/.cache/brands/integrations/esphome/dark_logo.png b/.cache/brands/integrations/esphome/dark_logo.png new file mode 100644 index 0000000..132987f Binary files /dev/null and b/.cache/brands/integrations/esphome/dark_logo.png differ diff --git a/.cache/brands/integrations/feedreader/dark_icon.png b/.cache/brands/integrations/feedreader/dark_icon.png new file mode 100644 index 0000000..425a6e5 Binary files /dev/null and b/.cache/brands/integrations/feedreader/dark_icon.png differ diff --git a/.cache/brands/integrations/fully_kiosk/dark_icon.png b/.cache/brands/integrations/fully_kiosk/dark_icon.png new file mode 100755 index 0000000..48cbd76 Binary files /dev/null and b/.cache/brands/integrations/fully_kiosk/dark_icon.png differ diff --git a/.cache/brands/integrations/generic/dark_icon.png b/.cache/brands/integrations/generic/dark_icon.png new file mode 100644 index 0000000..69a2a57 Binary files /dev/null and b/.cache/brands/integrations/generic/dark_icon.png differ diff --git a/.cache/brands/integrations/google_translate/dark_icon.png b/.cache/brands/integrations/google_translate/dark_icon.png new file mode 100644 index 0000000..9b4faf5 Binary files /dev/null and b/.cache/brands/integrations/google_translate/dark_icon.png differ diff --git a/.cache/brands/integrations/govee_light_local/dark_icon.png b/.cache/brands/integrations/govee_light_local/dark_icon.png new file mode 100644 index 0000000..e6f2fe6 Binary files /dev/null and b/.cache/brands/integrations/govee_light_local/dark_icon.png differ diff --git a/.cache/brands/integrations/hacs/dark_icon.png b/.cache/brands/integrations/hacs/dark_icon.png new file mode 100644 index 0000000..cffa310 Binary files /dev/null and b/.cache/brands/integrations/hacs/dark_icon.png differ diff --git a/.cache/brands/integrations/hassio/dark_icon.png b/.cache/brands/integrations/hassio/dark_icon.png new file mode 100644 index 0000000..39f0c14 Binary files /dev/null and b/.cache/brands/integrations/hassio/dark_icon.png differ diff --git a/.cache/brands/integrations/hikvision/dark_icon.png b/.cache/brands/integrations/hikvision/dark_icon.png new file mode 100644 index 0000000..e840654 Binary files /dev/null and b/.cache/brands/integrations/hikvision/dark_icon.png differ diff --git a/.cache/brands/integrations/homeassistant/icon.png b/.cache/brands/integrations/homeassistant/icon.png new file mode 100644 index 0000000..39f0c14 Binary files /dev/null and b/.cache/brands/integrations/homeassistant/icon.png differ diff --git a/.cache/brands/integrations/homekit_controller/dark_icon.png b/.cache/brands/integrations/homekit_controller/dark_icon.png new file mode 100755 index 0000000..defa5d0 Binary files /dev/null and b/.cache/brands/integrations/homekit_controller/dark_icon.png differ diff --git a/.cache/brands/integrations/homekit_controller/dark_icon@2x.png b/.cache/brands/integrations/homekit_controller/dark_icon@2x.png new file mode 100755 index 0000000..ba6e813 Binary files /dev/null and b/.cache/brands/integrations/homekit_controller/dark_icon@2x.png differ diff --git a/.cache/brands/integrations/knx/dark_icon.png b/.cache/brands/integrations/knx/dark_icon.png new file mode 100755 index 0000000..0133fd1 Binary files /dev/null and b/.cache/brands/integrations/knx/dark_icon.png differ diff --git a/.cache/brands/integrations/landroid_cloud/dark_icon.png b/.cache/brands/integrations/landroid_cloud/dark_icon.png new file mode 100644 index 0000000..697b1d1 Binary files /dev/null and b/.cache/brands/integrations/landroid_cloud/dark_icon.png differ diff --git a/.cache/brands/integrations/mbapi2020/dark_icon.png b/.cache/brands/integrations/mbapi2020/dark_icon.png new file mode 100755 index 0000000..9b19128 Binary files /dev/null and b/.cache/brands/integrations/mbapi2020/dark_icon.png differ diff --git a/.cache/brands/integrations/mbapi2020/dark_icon@2x.png b/.cache/brands/integrations/mbapi2020/dark_icon@2x.png new file mode 100755 index 0000000..9b19128 Binary files /dev/null and b/.cache/brands/integrations/mbapi2020/dark_icon@2x.png differ diff --git a/.cache/brands/integrations/mbapi2020/dark_logo.png b/.cache/brands/integrations/mbapi2020/dark_logo.png new file mode 100755 index 0000000..9b19128 Binary files /dev/null and b/.cache/brands/integrations/mbapi2020/dark_logo.png differ diff --git a/.cache/brands/integrations/met/dark_icon.png b/.cache/brands/integrations/met/dark_icon.png new file mode 100644 index 0000000..3a4c300 Binary files /dev/null and b/.cache/brands/integrations/met/dark_icon.png differ diff --git a/.cache/brands/integrations/mobile_app/dark_icon.png b/.cache/brands/integrations/mobile_app/dark_icon.png new file mode 100755 index 0000000..b7f2991 Binary files /dev/null and b/.cache/brands/integrations/mobile_app/dark_icon.png differ diff --git a/.cache/brands/integrations/mqtt/dark_icon.png b/.cache/brands/integrations/mqtt/dark_icon.png new file mode 100644 index 0000000..fcc1ce2 Binary files /dev/null and b/.cache/brands/integrations/mqtt/dark_icon.png differ diff --git a/.cache/brands/integrations/mqtt/dark_icon@2x.png b/.cache/brands/integrations/mqtt/dark_icon@2x.png new file mode 100644 index 0000000..2101a1f Binary files /dev/null and b/.cache/brands/integrations/mqtt/dark_icon@2x.png differ diff --git a/.cache/brands/integrations/music_assistant/dark_icon.png b/.cache/brands/integrations/music_assistant/dark_icon.png new file mode 100644 index 0000000..faed5ed Binary files /dev/null and b/.cache/brands/integrations/music_assistant/dark_icon.png differ diff --git a/.cache/brands/integrations/radio_browser/dark_icon.png b/.cache/brands/integrations/radio_browser/dark_icon.png new file mode 100644 index 0000000..41617d7 Binary files /dev/null and b/.cache/brands/integrations/radio_browser/dark_icon.png differ diff --git a/.cache/brands/integrations/risco/dark_icon.png b/.cache/brands/integrations/risco/dark_icon.png new file mode 100644 index 0000000..e161fba Binary files /dev/null and b/.cache/brands/integrations/risco/dark_icon.png differ diff --git a/.cache/brands/integrations/roborock/dark_icon.png b/.cache/brands/integrations/roborock/dark_icon.png new file mode 100644 index 0000000..d757020 Binary files /dev/null and b/.cache/brands/integrations/roborock/dark_icon.png differ diff --git a/.cache/brands/integrations/samsungtv/dark_icon.png b/.cache/brands/integrations/samsungtv/dark_icon.png new file mode 100644 index 0000000..a3bde39 Binary files /dev/null and b/.cache/brands/integrations/samsungtv/dark_icon.png differ diff --git a/.cache/brands/integrations/shopping_list/dark_icon.png b/.cache/brands/integrations/shopping_list/dark_icon.png new file mode 100644 index 0000000..9f07bde Binary files /dev/null and b/.cache/brands/integrations/shopping_list/dark_icon.png differ diff --git a/.cache/brands/integrations/sonos/dark_icon.png b/.cache/brands/integrations/sonos/dark_icon.png new file mode 100644 index 0000000..d9d5663 Binary files /dev/null and b/.cache/brands/integrations/sonos/dark_icon.png differ diff --git a/.cache/brands/integrations/sun/dark_icon.png b/.cache/brands/integrations/sun/dark_icon.png new file mode 100644 index 0000000..06ff4cb Binary files /dev/null and b/.cache/brands/integrations/sun/dark_icon.png differ diff --git a/.cache/brands/integrations/tasmota/dark_icon.png b/.cache/brands/integrations/tasmota/dark_icon.png new file mode 100644 index 0000000..4f6c3e6 Binary files /dev/null and b/.cache/brands/integrations/tasmota/dark_icon.png differ diff --git a/.cache/brands/integrations/unifiprotect/dark_icon.png b/.cache/brands/integrations/unifiprotect/dark_icon.png new file mode 100644 index 0000000..fd20165 Binary files /dev/null and b/.cache/brands/integrations/unifiprotect/dark_icon.png differ diff --git a/.cache/brands/integrations/wled/dark_icon.png b/.cache/brands/integrations/wled/dark_icon.png new file mode 100644 index 0000000..dc2ddcc Binary files /dev/null and b/.cache/brands/integrations/wled/dark_icon.png differ diff --git a/.cache/brands/integrations/zha/dark_icon.png b/.cache/brands/integrations/zha/dark_icon.png new file mode 100644 index 0000000..f8010fe Binary files /dev/null and b/.cache/brands/integrations/zha/dark_icon.png differ diff --git a/.ha_run.lock b/.ha_run.lock new file mode 100644 index 0000000..951cb5d --- /dev/null +++ b/.ha_run.lock @@ -0,0 +1 @@ +{"pid": 67, "version": 1, "ha_version": "2026.3.1", "start_ts": 1772977331.1190224} \ No newline at end of file diff --git a/automations.yaml b/automations.yaml index bed89b1..cdcac8d 100644 --- a/automations.yaml +++ b/automations.yaml @@ -26,10 +26,12 @@ - media_player.buedzemmer data: announce: true - media_content_id: media-source://media_source/local/hass_media/doorbell.wav - media_content_type: audio/x-wav extra: volume: 70 + media: + media_content_id: media-source://media_source/local/hass_media/doorbell.wav + media_content_type: audio/x-wav + metadata: {} - sequence: - action: camera.snapshot metadata: {} @@ -58,12 +60,6 @@ data: {} target: entity_id: input_boolean.videophone_anzeigen - - sequence: - - action: script.cobe_haus_benachrichtigung - metadata: {} - data: - message: '{{ doorbell.response_text }}' - title: COBE Haus - Hausdier mode: restart - id: '1743358810428' alias: Einschlaffmodus einschalten @@ -167,14 +163,6 @@ - input_boolean.einschlaffmodus from: 'off' to: 'on' - - trigger: state - entity_id: - - input_boolean.schlaffmodus - from: 'off' - to: 'on' - - trigger: time - at: '19:00:00' - id: KidsRoom conditions: - condition: state entity_id: input_boolean.rolladenautomatik @@ -183,52 +171,42 @@ entity_id: input_boolean.rolladen_automatisch_offnen_schliessen state: 'on' actions: - - if: - - condition: trigger - id: - - KidsRoom - then: - - action: cover.close_cover - metadata: {} - data: {} - target: - area_id: emil - else: - - delay: - minutes: '{{ range(0, 10) | random }}' - - 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: - - erdgeschoss - entity_id: cover.r_og2_bz_01 - area_id: - - badezimmer - - gallerie - - millie - - action: cover.set_cover_position - metadata: {} - data: - position: 10 - target: - entity_id: cover.r_og2_sz_01 - - delay: - hours: 0 - minutes: 0 - seconds: 45 - milliseconds: 0 - - action: automation.turn_on - metadata: {} - data: {} - target: - entity_id: automation.automatik_fur_einzelne_rolladen_blockieren + - delay: + minutes: '{{ range(3, 5) | random }}' + - 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: + - erdgeschoss + entity_id: cover.r_og2_bz_01 + area_id: + - badezimmer + - gallerie + - millie + - emil + - action: cover.set_cover_position + metadata: {} + data: + position: 10 + target: + entity_id: cover.r_og2_sz_01 + - delay: + hours: 0 + minutes: 0 + seconds: 45 + 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 @@ -243,7 +221,13 @@ - trigger: time at: 09:00:00 id: Timed - conditions: [] + 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: {} @@ -321,7 +305,7 @@ - light.lda_eg_th_01 else: - delay: - minutes: '{{ range(0, 10) | random }}' + minutes: '{{ range(0, 3) | random }}' - action: light.turn_on metadata: {} data: @@ -572,7 +556,7 @@ entity_id: input_boolean.schlaffzimmer_anzeigen mode: single - id: '1743607057910' - alias: Präsenzmelder Flur + alias: Beleuchtung OG1 (Treppenhaus) description: '' triggers: - trigger: state @@ -584,6 +568,13 @@ entity_id: - binary_sensor.bw_og2_fl - binary_sensor.bw_og1_fl + - binary_sensor.se_eg_wz_treppe_pr + to: 'on' + - trigger: state + entity_id: [] + - trigger: state + entity_id: + - binary_sensor.se_eg_treppe_og1_pr to: 'on' conditions: [] actions: @@ -693,12 +684,12 @@ - trigger: state entity_id: - switch.se_au_eg_pr - from: 'off' - to: 'on' + to: + - 'on' conditions: - condition: numeric_state entity_id: sensor.se_au_eg_lux - below: 10 + below: 20 actions: - action: light.turn_on metadata: {} @@ -707,10 +698,21 @@ transition: 2 target: entity_id: light.lda_au_ga_01 + - wait_for_trigger: + - trigger: state + entity_id: + - switch.se_au_eg_pr + to: + - 'off' + for: + hours: 0 + minutes: 0 + seconds: 5 + continue_on_timeout: false - delay: hours: 0 minutes: 0 - seconds: 30 + seconds: 10 milliseconds: 0 - action: light.turn_off metadata: {} @@ -782,6 +784,12 @@ - condition: state entity_id: input_boolean.rolladen_automatisch_beschatten state: 'on' + - condition: state + entity_id: input_boolean.schlaffmodus + state: 'off' + - condition: state + entity_id: input_boolean.einschlaffmodus + state: 'off' actions: - action: automation.turn_off metadata: {} @@ -1474,78 +1482,6 @@ title: COBE Haus message: Alarmanlag uschalten! Dass kee méi Dohem! mode: single -- id: '1749672504492' - alias: DHW PV Boost Einschalten - description: '' - triggers: - - trigger: state - entity_id: - - binary_sensor.dhw_pv_boost_active - from: 'off' - to: 'on' - for: - hours: 0 - minutes: 5 - seconds: 0 - conditions: - - condition: time - after: input_datetime.dhw_pv_boost_start - before: input_datetime.dhw_pv_boost_end - actions: - - action: number.set_value - metadata: {} - data: - value: '{{ states(''input_number.dhw_pv_boost_temp'') }}' - target: - entity_id: number.boiler_dhw_comfort_switch_off - - action: select.select_option - metadata: {} - data: - option: high comfort - target: - entity_id: select.boiler_dhw_comfort_mode - - action: script.cobe_haus_benachrichtigung - metadata: {} - data: - message: 'DHW PV-Boost started - Excess: {{ states(''sensor.sh15t_total_export_active_power'') - }}kW' - title: COBE Haus - DHW PV-Boost - mode: single -- id: '1749676379350' - alias: DHW PV Boost Ausschalten - description: '' - triggers: - - trigger: state - entity_id: - - binary_sensor.dhw_pv_boost_active - from: 'on' - to: 'off' - for: - hours: 0 - minutes: 2 - seconds: 0 - - trigger: time - at: input_datetime.dhw_pv_boost_end - conditions: [] - actions: - - action: number.set_value - metadata: {} - data: - value: '55' - target: - entity_id: number.boiler_dhw_comfort_switch_off - - action: select.select_option - metadata: {} - data: - option: eco - target: - entity_id: select.boiler_dhw_comfort_mode - - action: script.cobe_haus_benachrichtigung - metadata: {} - data: - message: DHW PV-Boost stopped - Temperature reached or excess too low - title: COBE Haus - DHW PV-Boost - mode: single - id: '1751218659966' alias: Whirlpool Bubbels description: '' @@ -1632,42 +1568,8 @@ title: COBE Haus message: Alarmanlage as net méi am Réseaux! mode: single -- id: '1752422778376' - alias: 'Risco: Alarm partiel aktivéiert' - description: '' - triggers: - - device_id: c13e5c5e52223e7a41d3521847c3617f - domain: alarm_control_panel - entity_id: 103f47ec3898b4bb5fe3b5b286702cd5 - type: armed_home - trigger: device - conditions: [] - actions: - - action: script.cobe_haus_benachrichtigung - metadata: {} - data: - title: COBE Haus - message: Alarm ass partiel aktivéiert ginn! - mode: single -- id: '1752422849449' - alias: 'Risco: Alarm komplet aktivéiert' - description: '' - triggers: - - device_id: c13e5c5e52223e7a41d3521847c3617f - domain: alarm_control_panel - entity_id: 103f47ec3898b4bb5fe3b5b286702cd5 - type: armed_away - trigger: device - conditions: [] - actions: - - action: script.cobe_haus_benachrichtigung - metadata: {} - data: - title: COBE Haus - message: Alarm ass komplett aktivéiert ginn! - mode: single - id: '1752427491606' - alias: 'Risco: Alarm ausgeschalt' + alias: 'Risco: Benachrichtigung' description: '' triggers: - device_id: c13e5c5e52223e7a41d3521847c3617f @@ -1675,13 +1577,69 @@ entity_id: 103f47ec3898b4bb5fe3b5b286702cd5 type: disarmed trigger: device + id: switchOff + - device_id: c13e5c5e52223e7a41d3521847c3617f + domain: alarm_control_panel + entity_id: 103f47ec3898b4bb5fe3b5b286702cd5 + type: armed_home + trigger: device + id: switchPartial + - device_id: c13e5c5e52223e7a41d3521847c3617f + domain: alarm_control_panel + entity_id: 103f47ec3898b4bb5fe3b5b286702cd5 + type: armed_away + trigger: device + id: switchComplet conditions: [] actions: - - action: script.cobe_haus_benachrichtigung - metadata: {} - data: - title: COBE Haus - message: Alarm ass ausgeschalt ginn! + - if: + - condition: trigger + id: + - switchOff + then: + - action: script.cobe_haus_benachrichtigung + metadata: {} + data: + title: COBE Haus + message: Alarm ass ausgeschalt ginn! + - action: input_select.select_option + metadata: {} + target: + entity_id: input_select.alarmpanel + data: + option: Aus + - if: + - condition: trigger + id: + - switchPartial + then: + - action: input_select.select_option + metadata: {} + target: + entity_id: input_select.alarmpanel + data: + option: Dohem + - action: script.cobe_haus_benachrichtigung + metadata: {} + data: + title: COBE Haus + message: Alarm ass partiel aktivéiert ginn! + - if: + - condition: trigger + id: + - switchComplet + then: + - action: input_select.select_option + metadata: {} + target: + entity_id: input_select.alarmpanel + data: + option: Komplett + - action: script.cobe_haus_benachrichtigung + metadata: {} + data: + title: COBE Haus + message: Alarm ass komplett aktivéiert ginn! mode: single - id: '1752427548457' alias: 'Risco: Alarm ausgeléist' @@ -1701,52 +1659,988 @@ message: Alarm as ausgeléist ginn ! mode: single - id: '1752434002996' - alias: Präsenzmelder EG + alias: Präsenzmelder EG Wohnzimmer/Küche description: '' triggers: - - type: motion - device_id: ac370a9cf543af6e5b816c4d10262f97 - entity_id: 05b598d9e6cde098fa14f7e649aaedfb - domain: binary_sensor - trigger: device - - type: motion - device_id: 549bb15726fa895ba2718d54686c07db - entity_id: 159cce7929f5ca8e5dc7c0bd53c08243 - domain: binary_sensor - trigger: device - - type: motion - device_id: 5db3893e695787194f6d5de306aff1af - entity_id: 46877909625b770266b2139340c111fb - domain: binary_sensor - trigger: device + - trigger: state + entity_id: + - binary_sensor.se_eg_wz_pr + to: 'on' + from: 'off' conditions: - - condition: state - entity_id: input_boolean.schlaffmodus - state: 'on' - - condition: device - type: is_off - device_id: 7caf75b15749aa7520a3b2aaf2177831 - entity_id: 505957aeb57b58199dd30b203061e78b - domain: remote - condition: numeric_state - entity_id: light.lda_eg_ku_01 - attribute: brightness + entity_id: sensor.se_eg_wz_lux below: 10 actions: - action: light.turn_on metadata: {} data: - brightness_pct: 2 + brightness_pct: 15 target: entity_id: light.lda_eg_ku_01 - - delay: - hours: 0 - minutes: 0 - seconds: 30 - milliseconds: 0 + - wait_for_trigger: + - trigger: state + entity_id: + - binary_sensor.se_eg_wz_pr + to: 'off' + from: 'on' + for: + hours: 0 + minutes: 0 + seconds: 10 + - trigger: numeric_state + entity_id: + - sensor.se_eg_wz_lux + above: 10 + continue_on_timeout: false - action: light.turn_off metadata: {} data: {} target: entity_id: light.lda_eg_ku_01 mode: restart +- id: '1756754753056' + alias: Ladezyklus Tablet OG1 + description: '' + triggers: + - trigger: numeric_state + entity_id: + - sensor.tablet_og1_battery_level + below: 21 + id: StartLoading + - trigger: numeric_state + entity_id: + - sensor.tablet_og1_battery_level + above: 79 + conditions: [] + actions: + - if: + - condition: trigger + id: + - StartLoading + then: + - action: switch.turn_on + metadata: {} + data: {} + target: + entity_id: switch.ss_og1_fl_tablet + else: + - action: switch.turn_off + metadata: {} + data: {} + target: + entity_id: switch.ss_og1_fl_tablet + mode: single +- id: '1757940013217' + alias: DND Papa (MSG) + description: '' + triggers: + - trigger: state + entity_id: + - binary_sensor.garage_ben + - binary_sensor.garage_conny + - binary_sensor.eingangstur + to: 'on' + - trigger: state + entity_id: + - binary_sensor.bw_og1_fl + - binary_sensor.bw_og2_fl + to: 'on' + conditions: + - condition: state + entity_id: input_boolean.dnd_papa + state: 'on' + actions: + - action: notify.mobile_app_kn0x_tech_iphone + metadata: {} + data: + message: Obgepasst !! Du bas net méi alleng !! ;) + mode: single +- id: '1757940601547' + alias: DND Papa + description: '' + triggers: + - trigger: state + entity_id: + - input_boolean.dnd_papa + to: 'on' + conditions: [] + actions: + - action: cover.set_cover_position + metadata: {} + data: + position: 19 + target: + entity_id: + - cover.r_og2_bz_01 + - cover.r_og2_sz_01 + - action: light.turn_on + metadata: {} + data: + brightness_pct: 5 + target: + entity_id: light.lda_og2_bz_01 + - wait_for_trigger: + - trigger: state + entity_id: + - input_boolean.dnd_papa + to: 'off' + timeout: + hours: 0 + minutes: 10 + seconds: 0 + milliseconds: 0 + - action: cover.open_cover + metadata: {} + data: {} + target: + entity_id: + - cover.r_og2_sz_01 + - cover.r_og2_bz_01 + - action: light.turn_off + metadata: {} + data: {} + target: + entity_id: light.lda_og2_bz_01 + mode: single +- id: '1761133798548' + alias: Benachrichtigung für nicht verfügbare Geräte + description: '' + triggers: + - trigger: state + entity_id: + - sensor.sensy_one_d2f22c_esp32_ip + to: + - unavailable + id: se_eg_fl_präsenz + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.tasmota + to: + - unavailable + id: tasmota_küchenfenster + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.tasmota_2 + to: + - unavailable + id: tasmota_adventskalender + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.quooker_warmwasser_3 + to: + - unavailable + id: tasmota_quooker_warmwasser + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.quooker_sprudelwasser + to: + - unavailable + id: tasmota_quooker_sprudelwasser + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.tasmota_3 + to: + - unavailable + id: tasmota_schlaffbeleuchtung_emil + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.mac_studio_5 + to: + - unavailable + id: tasmota_macstudio + for: + hours: 0 + minutes: 10 + seconds: 0 + - trigger: state + entity_id: + - switch.spulmaschine_2 + to: + - unavailable + id: tasmota_spülmaschine + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.fernseher_4 + to: + - unavailable + id: tasmota_fernseher + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - switch.tasmota_5 + to: + - unavailable + id: tasmota_3dprinter + for: + hours: 0 + minutes: 2 + seconds: 0 + - trigger: state + entity_id: + - sensor.sh15t_battery_level_soc + to: + - unknown + id: pv_inverter + for: + hours: 0 + minutes: 2 + seconds: 0 + conditions: [] + actions: + - action: script.cobe_haus_benachrichtigung + metadata: {} + data: + title: COBE Haus + message: Gerät "{{ trigger.id }}" as net méi do !! + mode: single +- id: '1761134512991' + alias: Präsenzmelder EG Flur + description: '' + triggers: + - trigger: state + entity_id: + - sensor.sensy_one_d2f22c_zone_1_presence + to: Detected + conditions: + - condition: or + conditions: + - condition: state + entity_id: input_boolean.einschlaffmodus + state: 'on' + - condition: state + entity_id: input_boolean.schlaffmodus + state: 'on' + actions: + - action: light.turn_on + metadata: {} + data: + transition: 1 + brightness_pct: 20 + target: + entity_id: light.lda_eg_fl_01 + - wait_for_trigger: + - trigger: state + entity_id: + - sensor.sensy_one_d2f22c_zone_1_presence + to: Clear + for: + hours: 0 + minutes: 0 + seconds: 10 + - action: light.turn_off + metadata: {} + data: {} + target: + entity_id: light.lda_eg_fl_01 + mode: single +- id: '1763755978086' + alias: 'ChristmasLights: Power On/Off' + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: powerOff + - trigger: time + at: 05:30:00 + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: powerOn + - trigger: numeric_state + entity_id: + - sensor.se_au_eg_lux + for: + hours: 0 + minutes: 3 + seconds: 0 + below: 50 + id: powerOn + - trigger: numeric_state + entity_id: + - sensor.se_au_eg_lux + for: + hours: 0 + minutes: 3 + seconds: 0 + id: powerOff + above: 50 + conditions: [] + actions: + - if: + - condition: trigger + id: + - powerOn + then: + - action: light.turn_on + metadata: {} + data: + color_temp_kelvin: 3025 + target: + label_id: christmas + - action: select.select_option + target: + entity_id: select.wled_controller_voreinstellung + data: + option: Christmas + else: + - action: light.turn_off + metadata: {} + data: {} + target: + label_id: christmas + mode: single +- id: '1764008003376' + alias: Christmas Blinky + description: '' + triggers: + - trigger: state + entity_id: + - switch.se_au_eg_pr + to: + - 'on' + - 'off' + conditions: + - condition: state + entity_id: light.christmas_dier + state: + - 'on' + actions: + - action: select.select_option + target: + entity_id: select.wled_controller_voreinstellung + data: + option: Christmas + - delay: + hours: 0 + minutes: 0 + seconds: 10 + milliseconds: 0 + - action: select.select_option + target: + entity_id: select.wled_controller_voreinstellung + data: + option: Christmas + mode: restart +- id: '1764335472064' + alias: Bridge Govee - KNX + description: '' + triggers: + - trigger: state + entity_id: + - light.l_au_gt_03 + to: + - 'on' + id: powerOn + - trigger: state + entity_id: + - light.l_au_gt_03 + to: + - 'off' + id: powerOff + - trigger: state + entity_id: + - light.l_au_gt_03 + id: brightness + attribute: brightness + - trigger: state + entity_id: + - light.l_au_gt_03 + id: temperature + attribute: color_temp_kelvin + - trigger: state + entity_id: + - number.l_au_gt_01_color + id: color + conditions: [] + actions: + - if: + - condition: trigger + id: + - powerOn + then: + - action: light.turn_on + metadata: {} + data: + brightness: '{{ state_attr(''light.l_au_gt_03'', ''brightness'') }}' + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: trigger + id: + - powerOff + then: + - action: light.turn_off + metadata: {} + data: {} + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: trigger + id: + - brightness + then: + - action: light.turn_on + metadata: {} + data: + brightness: '{{ state_attr(''light.l_au_gt_03'', ''brightness'') }}' + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: trigger + id: + - color + then: + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '0' + then: + - action: light.turn_on + metadata: {} + data: + color_name: violet + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '1' + then: + - action: light.turn_on + metadata: {} + data: + color_name: pink + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '2' + then: + - action: light.turn_on + metadata: {} + data: + color_name: orange + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '3' + then: + - action: light.turn_on + metadata: {} + data: + color_name: yellow + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '4' + then: + - action: light.turn_on + metadata: {} + data: + color_name: greenyellow + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '5' + then: + - action: light.turn_on + metadata: {} + data: + color_name: green + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '6' + then: + - action: light.turn_on + metadata: {} + data: + color_name: lightblue + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '7' + then: + - action: light.turn_on + metadata: {} + data: + color_name: blue + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: state + entity_id: number.l_au_gt_01_color + state: + - '8' + then: + - action: light.turn_on + metadata: {} + data: + color_temp: 250 + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + - if: + - condition: trigger + id: + - temperature + then: + - action: light.turn_on + metadata: {} + data: + color_temp_kelvin: '{{ state_attr(''light.l_au_gt_03'', ''color_temp_kelvin'') + }}' + target: + entity_id: + - light.h7075 + - light.h7075_2 + - light.h7075_3 + - light.h7075_4 + mode: single +- id: '1771959671424' + alias: 'InputSwitch Alarmanlage ' + description: '' + triggers: + - trigger: state + entity_id: + - input_select.alarmpanel + to: + - Dohem + id: home + - trigger: state + entity_id: + - input_select.alarmpanel + to: + - Aus + id: 'off' + - trigger: state + entity_id: + - input_select.alarmpanel + to: + - Aus + - Komplett + id: complet + conditions: [] + actions: + - if: + - condition: trigger + id: + - home + then: + - action: alarm_control_panel.alarm_arm_home + metadata: {} + data: + code: '8211' + target: + entity_id: alarm_control_panel.cobe_haus + - if: + - condition: trigger + id: + - 'off' + then: + - action: alarm_control_panel.alarm_disarm + metadata: {} + target: + entity_id: alarm_control_panel.cobe_haus + data: + code: '8211' + - if: + - condition: trigger + id: + - complet + then: + - action: alarm_control_panel.alarm_arm_away + metadata: {} + target: + entity_id: alarm_control_panel.cobe_haus + data: + code: '8211' + mode: single +- id: '1772263405773' + alias: Pipi-Alarm + description: '' + triggers: + - trigger: time_pattern + minutes: '15' + conditions: [] + actions: + - action: tts.speak + metadata: {} + target: + entity_id: tts.google_translate_en_com + data: + cache: true + media_player_entity_id: media_player.kuche + message: Pipi-Alarm!! Pipi-Alarm!! Emil muss du ob den Potti goen? + mode: single +- id: '1772562884642' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562886056' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562886824' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562887540' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562887690' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562887873' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562888357' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562890941' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562891823' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single +- id: '1772562892007' + alias: Alarm automatisch ein- & ausschalten + description: '' + triggers: + - trigger: time + at: '23:00:00' + weekday: + - mon + - tue + - wed + - thu + - fri + - sat + - sun + id: arm + conditions: [] + actions: + - if: + - condition: trigger + id: + - arm + then: + - action: select.select_option + metadata: {} + data: {} + mode: single diff --git a/configuration.yaml b/configuration.yaml index 0846b13..8be112b 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -30,7 +30,6 @@ frontend: homeassistant: packages: !include_dir_named packages -template: !include template/binary_sensor.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml diff --git a/dashboards/mobile.yaml b/dashboards/mobile.yaml new file mode 100644 index 0000000..0c024db --- /dev/null +++ b/dashboards/mobile.yaml @@ -0,0 +1,98 @@ +type: custom:bubble-card +card_type: button +button_type: state +entity: sensor.mobile_dashboard_weather +name: w i e r d e r +styles: |- + .bubble-button-card-container { + background: none; + font-size: 15px !important; + margin-left: 2px; + } + .bubble-icon-container { + background: none; + border-radius: 0; + } + .bubble-sub-button { + font-size: 11px !important; + margin-right: -12px; + } +tap_action: + action: none +double_tap_action: + action: none +hold_action: + action: none +card_layout: large-2-rows +sub_button: + - entity: sensor.sh15t_battery_level_soc + name: PV Battery + icon: mdi:battery + styles: |- + {% set battery_level = states('sensor.sh15t_battery_level_soc') | float %} + {% if battery_level > 80 %} + icon.setAttribute("icon", "mdi:battery"); + {% elif battery_level > 60 %} + icon.setAttribute("icon", "mdi:battery-60"); + {% elif battery_level > 40 %} + icon.setAttribute("icon", "mdi:battery-40"); + {% elif battery_level > 20 %} + icon.setAttribute("icon", "mdi:battery-20"); + {% elif battery_level > 10 %} + icon.setAttribute("icon", "mdi:battery-10"); + {% else %} + icon.setAttribute("icon", "mdi:battery-alert"); + {% endif %} + show_icon: true + show_background: false + show_attribute: false + show_last_changed: false + show_last_updated: false + show_state: true + show_name: false + - entity: sensor.sh15t_total_dc_power + state_background: false + show_background: false + show_name: false + name: ⚡️ + show_last_changed: false + show_attribute: false + attribute: state_class + show_icon: true + show_state: true + icon: mdi:flash + - entity: sensor.tablet_og1_batterie + show_icon: true + show_name: false + show_state: true + show_background: false + name: 🖥️ + visibility: + - condition: user + users: + - d257ce93c51e4a1e864bcae1c38bffd9 + icon: mdi:tablet-cellphone + - entity: input_select.alarmpanel + name: 🔒 + state_background: false + show_background: false + show_icon: true + show_name: false + show_state: false + show_last_changed: false + show_attribute: false + show_last_updated: false + icon: mdi:shield + show_arrow: false +show_attribute: false +show_state: true +attribute: attribution +rows: "1" +scrolling_effect: false +show_icon: true +force_icon: false +show_last_changed: false +show_last_updated: false +grid_options: + columns: full +modules: [] diff --git a/knx/knx.yaml b/knx/knx.yaml index 585efd8..a047335 100644 --- a/knx/knx.yaml +++ b/knx/knx.yaml @@ -4,3 +4,8 @@ climate: !include climate.yaml button: !include button.yaml sensor: !include sensor.yaml switch: !include switch.yaml + +number: + - name : "L_AU_GT_01_Color" + address: "5/1/25" + type: decimal_factor \ No newline at end of file diff --git a/knx/light.yaml b/knx/light.yaml index 6876735..0a95071 100644 --- a/knx/light.yaml +++ b/knx/light.yaml @@ -55,9 +55,12 @@ address: "5/1/0" state_address: "5/1/3" -- name: "L_AU_GT_03" +- name: "L_AU_GT_01" address: "5/1/20" state_address: "5/1/23" + brightness_address: "5/1/21" + brightness_state_address: "5/1/24" + color_temperature_address: "5/1/26" # Light Dali UG - name: "LDA_UG_FL_01" @@ -66,6 +69,7 @@ brightness_address: "1/1/2" brightness_state_address: "1/1/4" + - name: "LDA_UG_TH_01" address: "1/1/30" state_address: "1/1/33" @@ -222,3 +226,4 @@ brightness_state_address: "2/1/14" + diff --git a/template/binary_sensor.yaml b/knx/scene.yaml similarity index 100% rename from template/binary_sensor.yaml rename to knx/scene.yaml diff --git a/knx/switch.yaml b/knx/switch.yaml index 1bf9288..7eded91 100644 --- a/knx/switch.yaml +++ b/knx/switch.yaml @@ -9,3 +9,7 @@ - name: 'Nachtmodus' address: '0/0/1' state_address: '0/0/1' + +- name: 'SS_OG1_FL_Tablet' + address: '3/4/2' + state_address: '3/4/3' diff --git a/packages/mobile_dashboard.yaml b/packages/mobile_dashboard.yaml index c7a7a4d..de04b8c 100644 --- a/packages/mobile_dashboard.yaml +++ b/packages/mobile_dashboard.yaml @@ -2,19 +2,29 @@ template: - sensor: - name: "Mobile Dashboard Weather" state: > - {% set condition = states('weather.forecast_home') | title %} - {% set temp = states('sensor.se_au_gt_temp') | float %} - {% set wind = states('sensor.se_au_gt_wind') | float %} + {% set condition_raw = states('weather.forecast_home') %} + {% set temp = states('sensor.se_au_gt_temp') | float(0) %} + {% set wind = states('sensor.se_au_gt_wind') | float(0) %} + {% set condition_translations = { + 'sunny': 'Sonneg', + 'partlycloudy': 'Deelweis wollekeg', + 'cloudy': 'Wollekeg', + 'rainy': 'Reeneg', + 'snowy': 'Schnéieg', + 'windy': 'Wandeg', + 'fog': 'Niwweleg' + } %} {% set condition_icon = { - 'Sunny': '☀️', - 'Partlycloudy': '⛅', - 'Cloudy': '☁️', - 'Rainy': '🌧️', - 'Snowy': '❄️', - 'Windy': '💨', - 'Fog': '🌫️' - }.get(condition, '🌤️') %} - {{ condition_icon }} {{ condition }} - 🌡️ {{ temp | round(1) }}°C - 💨 {{ wind | round(1) }} m/s + 'sunny': '☀️', + 'partlycloudy': '⛅', + 'cloudy': '☁️', + 'rainy': '🌧️', + 'snowy': '❄️', + 'windy': '💨', + 'fog': '🌫️' + }.get(condition_raw, '🌤️') %} + {% set condition_lb = condition_translations.get(condition_raw, condition_raw | title) %} + {{ condition_icon }} {{ condition_lb }} - 🌡️ {{ temp | round(1) }}°C - 💨 {{ wind | round(1) }} m/s icon: > {% set condition = states('weather.forecast_home') %} {% if condition == 'sunny' %} diff --git a/packages/pv_to_dhw.yaml b/packages/pv_to_dhw.yaml index a108f84..afebf10 100644 --- a/packages/pv_to_dhw.yaml +++ b/packages/pv_to_dhw.yaml @@ -22,7 +22,7 @@ template: - name: "DHW Boost Demand" state: > - {% set excess = states('sensor.sh15t_total_export_active_power') | float %} + {% set excess = states('sensor.sh15t_total_export_active_power') | float(0) %} {% set dhw_available = states('sensor.dhw_boost_available') %} {% set wp_power = states('input_number.dhw_pv_min_excess') | float %} {{ excess > wp_power and dhw_available }} diff --git a/scripts.yaml b/scripts.yaml index a9b3fe7..c8728af 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -5,7 +5,7 @@ cobe_haus_benachrichtigung: data: message: '{{ message }}' title: '{{ title }}' - - action: notify.mobile_app_iphone_von_conny + - action: notify.mobile_app_iphone metadata: {} data: message: '{{ message }}' @@ -34,7 +34,7 @@ cobe_haus_benachrichtigung_mit_bild: title: '{{ title }}' data: image: '{{ image }}' - - action: notify.mobile_app_iphone_von_conny + - action: notify.mobile_app_iphone metadata: {} data: message: '{{ message }}' @@ -165,7 +165,7 @@ cobe_haus_kritische_benachrichtigung: name: default critical: 1 volume: 1 - - action: notify.mobile_app_iphone_von_conny + - action: notify.mobile_app_iphone metadata: {} data: message: '{{ message }}'