views:
  - title: HOME
    sections:
      - type: grid
        cards:
          - event_grouping: true
            drop_todayevents_from: '10:00:00'
            next_days: 27
            pattern:
              - icon: mdi:flower
                color: lime
                type: organic
              - icon: mdi:newspaper
                color: blue
                type: paper
                pattern: Papier
              - icon: mdi:recycle
                color: amber
                type: recycle
                pattern: Gelb
              - icon: mdi:trash-can-outline
                color: grey
                type: waste
                pattern: Rest
              - icon: mdi:dump-truck
                color: purple
                type: others
            day_style: counter
            card_style: chip
            alignment_style: left
            items_per_row: 4
            refresh_rate: 60
            with_label: false
            type: custom:trash-card
            entities:
              - calendar.abfall
            grid_options:
              columns: 12
              rows: auto
            hide_time_range: true
            card_mod:
              style: |
                ha-card {
                  #background: indianred;
                  box-shadow: none ;
                  --card-primary-font-size: 10px !important;
                  --card-primary-line-height: 10px !important;
                   #--card-secondary-color: black;
                   align-items: left;
                }
                mushroom-state-info$: |
                  .container {
                    align-items: end;
                }
        column_span: 4
        card_mod:
          style: |
            ha-card {
                  #background: indianred;
                  box-shadow: none ;
                  --card-primary-font-size: 15px;
                  --card-primary-line-height: 15px !important;
                   #--card-secondary-color: black;
                   align-items: center;
                }
                mushroom-state-info$: |
                  .container {
                    align-items: end;
                }
      - type: grid
        cards:
          - type: custom:home-feed-card
            card_id: main_feed
            show_empty: true
            show_notification_title: false
            exact_durations: true
            show_icons: true
            compact_mode: false
            more_info_on_tap: true
            state_color: true
            id_filter: ^home_feed_*
            calendar_days_forward: 2
            calendar_days_back: 0
            calendars:
              - calendar.abfall
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 406px;              
                  overflow-y: scroll !important;
                  border: solid 2px var(--primary-color);
                }
        grid_options:
          rows: 6
        card_mod:
          style: |
            ha-card {
              height: 406px;
            }
      - type: grid
        cards:
          - type: heading
            heading: Energie aktueller Tag
            heading_style: subtitle
            icon: mdi:home-floor-negative-1
          - type: energy-distribution
            link_dashboard: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Aktueller Stromverbrauch Waschküche
            heading_style: subtitle
            icon: mdi:power-plug-battery-outline
          - type: custom:power-flow-card-plus
            entities:
              battery:
                entity: ''
                state_of_charge: sensor.iphone_von_tobias_battery_level
              grid:
                secondary_info: {}
                entity:
                  consumption: >-
                    sensor.house_basement_plant_room_main_electricity_meter_consumption
                  production: >-
                    sensor.house_basement_plant_room_main_electricity_meter_yield
              solar:
                entity: sensor.solarnet_pv_leistung
                display_zero_state: true
                secondary_info: {}
                color: green
              home:
                secondary_info: {}
              individual:
                - entity: >-
                    sensor.house_basement_utility_room_washer_old_socket_power_measurement_current
                  name: Waschm. Alt
                  display_zero: true
                  icon: mdi:washing-machine-alert
                  color: orange
                - entity: >-
                    sensor.house_basement_utility_room_washer_socket_power_measurement_current
                  name: Waschm. Neu
                  display_zero: true
                  icon: mdi:washing-machine-alert
                  color: orange
                - entity: >-
                    sensor.house_basement_utility_room_dryer_socket_power_measurement_current
                  name: Trockner
                  display_zero: true
                  icon: mdi:air-purifier
                  color: orange
            clickable_entities: true
            display_zero_lines: true
            use_new_flow_rate_model: true
            w_decimals: 0
            kw_decimals: 2
            min_flow_rate: 0.75
            max_flow_rate: 6
            max_expected_power: 2000
            min_expected_power: 0.01
            watt_threshold: 1000
            transparency_zero_lines: 0
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Aktueller Stromverbrauch Küche
            heading_style: subtitle
            icon: mdi:power-plug-battery-outline
          - type: custom:power-flow-card-plus
            entities:
              battery:
                entity: ''
                state_of_charge: sensor.iphone_von_tobias_battery_level
              grid:
                secondary_info: {}
                entity:
                  consumption: >-
                    sensor.house_basement_plant_room_main_electricity_meter_consumption
                  production: >-
                    sensor.house_basement_plant_room_main_electricity_meter_yield
              solar:
                entity: sensor.solarnet_pv_leistung
                display_zero_state: true
                color: green
                secondary_info: {}
              home:
                secondary_info: {}
              individual:
                - entity: >-
                    sensor.house_ground_floor_family_kitchen_dishwasher_socket_power_measurement_current
                  name: Spülmaschine
                  display_zero: true
                  icon: mdi:dishwasher
                  color: orange
                - entity: >-
                    sensor.house_ground_floor_family_kitchen_oven_socket_power_measurement_current
                  name: Backofen
                  display_zero: true
                  icon: mdi:toaster-oven
                  color: orange
                - entity: >-
                    sensor.house_ground_floor_family_living_room_fridge_socket_power_measurement_current
                  name: Kühlschrank
                  display_zero: true
                  icon: mdi:fridge
                  color: orange
            clickable_entities: true
            display_zero_lines: true
            use_new_flow_rate_model: true
            w_decimals: 0
            kw_decimals: 2
            min_flow_rate: 0.75
            max_flow_rate: 6
            max_expected_power: 2000
            min_expected_power: 0.01
            watt_threshold: 1000
            transparency_zero_lines: 0
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Aktueller Stromverbrauch Obergeschoss
            heading_style: subtitle
            icon: mdi:power-plug-battery-outline
          - type: custom:power-flow-card-plus
            entities:
              battery:
                entity: ''
                state_of_charge: sensor.iphone_von_tobias_battery_level
              grid:
                secondary_info: {}
                entity:
                  consumption: >-
                    sensor.house_basement_plant_room_main_electricity_meter_consumption
                  production: >-
                    sensor.house_basement_plant_room_main_electricity_meter_yield
              solar:
                entity: sensor.solarnet_pv_leistung
                display_zero_state: true
                color: green
                secondary_info: {}
              home:
                secondary_info: {}
              individual:
                - entity: >-
                    sensor.house_first_floor_leon_door_socket_power_measurement_current
                  name: Leon / adi
                  display_zero: true
                  icon: mdi:power-socket-de
                  color: orange
                - entity: >-
                    sensor.house_first_floor_parents_door_socket_power_measurement_current
                  name: Elternschlafzimmer
                  display_zero: true
                  icon: mdi:power-socket-de
                  color: orange
                - entity: sensor.smart_switch_23071874506804510d0948e1e9d1ea81_power
                  name: Gefriertruhe
                  display_zero: true
                  icon: mdi:power-socket-de
                  color: orange
            clickable_entities: true
            display_zero_lines: true
            use_new_flow_rate_model: true
            w_decimals: 0
            kw_decimals: 2
            min_flow_rate: 0.75
            max_flow_rate: 6
            max_expected_power: 2000
            min_expected_power: 0.01
            watt_threshold: 1000
            transparency_zero_lines: 0
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: custom:weather-chart-card
            entity: weather.kirchberg_jagst
            show_main: true
            show_temperature: true
            show_current_condition: true
            show_attributes: true
            show_time: true
            show_time_seconds: false
            show_day: false
            show_date: false
            show_humidity: true
            show_pressure: true
            show_wind_direction: true
            show_wind_speed: true
            show_sun: true
            show_feels_like: false
            show_dew_point: false
            show_wind_gust_speed: false
            show_visibility: false
            show_last_changed: false
            use_12hour_format: false
            icons_size: 25
            animated_icons: true
            icon_style: style1
            autoscroll: false
            forecast:
              precipitation_type: rainfall
              show_probability: false
              labels_font_size: '11'
              precip_bar_size: '100'
              style: style1
              show_wind_forecast: true
              condition_icons: true
              round_temp: false
              type: daily
              number_of_forecasts: '0'
              disable_animation: false
            units:
              speed: ''
            locale: de
            temp: sensor.outdoor_temperature
            grid_options:
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 406px;
                }
      - type: grid
        cards:
          - type: heading
            heading: Offene Fenster / Türen
            heading_style: subtitle
            icon: mdi:heating-coil
          - type: entities
            entities:
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_basement_guest_room_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_basement_guest_room_window_status
                  name: Luca
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_basement_hobby_room_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_basement_hobby_room_window_status
                  name: Hobbyraum
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_basement_toilet_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_basement_toilet_window_status
                  name: UG WC
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_basement_utility_room_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_basement_utility_room_window_status
                  name: Technikraum
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_basement_storage_room_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_basement_storage_room_window_status
                  name: Speisekammer
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_family_hallway_main_door_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_ground_floor_family_hallway_main_door_status
                  name: Haustüre
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_family_toilet_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_ground_floor_family_toilet_window_status
                  name: Gäste WC
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_family_kitchen_window_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_ground_floor_family_kitchen_window_status
                  name: Küche
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_family_dining_room_slide_door_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_ground_floor_family_dining_room_slide_door_status
                  name: Esszimmer Schiebetüre
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_parents_play_room_window_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_ground_floor_parents_play_room_window_status
                  name: Spielzimmer
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_parents_dressing_room_window_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_ground_floor_parents_dressing_room_window_status
                  name: Ankleide
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_parents_parents_bath_window_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_ground_floor_parents_parents_bath_window_status
                  name: Elternbad Fenster
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_ground_floor_parents_parents_bath_door_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_ground_floor_parents_parents_bath_door_status
                  name: Elternbad Tür
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_first_floor_leon_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_first_floor_leon_window_status
                  name: Leon/Adi
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_first_floor_parents_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_first_floor_parents_window_status
                  name: Eltern Schlafzimmer
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_first_floor_bathroom_window_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_first_floor_bathroom_window_status
                  name: DG Bad
              - type: conditional
                conditions:
                  - entity: binary_sensor.house_first_floor_wellness_door_status
                    state_not: 'off'
                row:
                  entity: binary_sensor.house_first_floor_wellness_door_status
                  name: Wellness Türe
              - type: conditional
                conditions:
                  - entity: >-
                      binary_sensor.house_first_floor_wellness_window_east_window_status
                    state_not: 'off'
                row:
                  entity: >-
                    binary_sensor.house_first_floor_wellness_window_east_window_status
                  name: Wellness Fenster
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Aktive Lichter
            heading_style: subtitle
            icon: mdi:heating-coil
          - type: entities
            entities:
              - type: conditional
                conditions:
                  - entity: light.house_basement_corridor_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_corridor_ceiling_light
                  name: Keller Flur Licht
              - type: conditional
                conditions:
                  - entity: light.house_basement_guest_room_back_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_guest_room_back_light
                  name: Luca Zimmer Licht Bett
              - type: conditional
                conditions:
                  - entity: light.house_basement_guest_room_center_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_guest_room_center_light
                  name: Luca Zimmer Licht Mitte
              - type: conditional
                conditions:
                  - entity: light.house_basement_guest_room_front_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_guest_room_front_light
                  name: Luca Zimmer Licht Schreibtisch
              - type: conditional
                conditions:
                  - entity: light.house_basement_hobby_room_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_hobby_room_light
                  name: Hobbyraum Licht
              - type: conditional
                conditions:
                  - entity: light.house_basement_storage_room_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_storage_room_light
                  name: Speisekammer Licht
              - type: conditional
                conditions:
                  - entity: light.house_basement_toilet_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_toilet_light
                  name: Keller WC Licht
              - type: conditional
                conditions:
                  - entity: light.house_basement_utility_room_light
                    state_not: 'off'
                row:
                  entity: light.house_basement_utility_room_light
                  name: Technikraum Licht
              - type: conditional
                conditions:
                  - entity: light.house_ground_floor_family_dining_room_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_family_dining_room_light
                  name: Esszimmer Licht
              - type: conditional
                conditions:
                  - entity: light.esszimmer
                    state_not: 'off'
                row:
                  entity: light.esszimmer
                  name: Esszimmer Lampe
              - type: conditional
                conditions:
                  - entity: light.house_ground_floor_family_hallway_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_family_hallway_light
                  name: Eingangsbereich Licht
              - type: conditional
                conditions:
                  - entity: light.house_ground_floor_family_kitchen_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_family_kitchen_light
                  name: Küche Licht
              - type: conditional
                conditions:
                  - entity: >-
                      light.house_ground_floor_family_kitchen_ambient_sockel_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_family_kitchen_ambient_sockel_light
                  name: Küche Licht Sockel
              - type: conditional
                conditions:
                  - entity: >-
                      light.house_ground_floor_family_kitchen_ambient_workspace_light
                    state_not: 'off'
                row:
                  entity: >-
                    light.house_ground_floor_family_kitchen_ambient_workspace_light
                  name: Küche Licht Arbeitsfläche
              - type: conditional
                conditions:
                  - entity: light.house_ground_floor_family_living_room_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_family_living_room_light
                  name: Wohnzimmer Licht
              - type: conditional
                conditions:
                  - entity: light.house_ground_floor_family_toilet_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_family_toilet_light
                  name: Gäste WC Licht
              - type: conditional
                conditions:
                  - entity: >-
                      light.house_ground_floor_parents_dressing_room_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_parents_dressing_room_ceiling_light
                  name: Ankleide Licht
              - type: conditional
                conditions:
                  - entity: >-
                      light.house_ground_floor_parents_parents_bath_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_parents_parents_bath_ceiling_light
                  name: Elternbad Licht
              - type: conditional
                conditions:
                  - entity: light.house_ground_floor_parents_parents_bath_shower_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_parents_parents_bath_shower_light
                  name: Elternbad Dusche Licht
              - type: conditional
                conditions:
                  - entity: light.house_ground_floor_parents_play_room_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_ground_floor_parents_play_room_ceiling_light
                  name: Spielzimmer Licht
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_bathroom_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_bathroom_ceiling_light
                  name: DG Bad Licht
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_bathroom_mirror_light
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_bathroom_mirror_light
                  name: DG Bad Spiegel
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_corridor_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_corridor_ceiling_light
                  name: DG Flur Licht
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_leon_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_leon_ceiling_light
                  name: Leon/Adi Licht
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_leon_ceiling_light_230v
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_leon_ceiling_light_230v
                  name: Leon/Adi Feuerwehrlampe
              - type: conditional
                conditions:
                  - entity: switch.house_first_floor_leon_car_light
                    state_not: 'off'
                row:
                  entity: switch.house_first_floor_leon_car_light
                  name: Leon/Adi Licht Feuerwehrbett
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_parents_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_parents_ceiling_light
                  name: Schlafzimmer Eltern Licht
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_wellness_ceiling_light
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_wellness_ceiling_light
                  name: Wellness Licht
              - type: conditional
                conditions:
                  - entity: light.house_first_floor_wellness_shower_light
                    state_not: 'off'
                row:
                  entity: light.house_first_floor_wellness_shower_light
                  name: Wellness Licht Dusche
              - type: conditional
                conditions:
                  - entity: light.wled_kitchen
                    state_not: 'off'
                row:
                  entity: light.wled_kitchen
                  name: Küche Status Licht
              - type: conditional
                conditions:
                  - entity: light.wled_hallway
                    state_not: 'off'
                row:
                  entity: light.wled_hallway
                  name: Eingangsbereich Status Licht
              - type: conditional
                conditions:
                  - entity: light.esphome_web_ug_luca_luca_led_streifen
                    state_not: 'off'
                row:
                  entity: light.esphome_web_ug_luca_luca_led_streifen
                  name: Luca LED Streifen
              - type: conditional
                conditions:
                  - entity: light.esphome_web_dg_leon_leon_led_streifen
                    state_not: 'off'
                row:
                  entity: light.esphome_web_dg_leon_leon_led_streifen
                  name: Leon / Adi LED Streifen
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Medien Übersicht
            heading_style: subtitle
            icon: mdi:heating-coil
          - type: entities
            entities:
              - type: conditional
                conditions:
                  - entity: media_player.keller
                    state: playing
                row:
                  entity: media_player.keller
                  name: Alexa Luca
              - type: conditional
                conditions:
                  - entity: media_player.kinderzimmer
                    state: playing
                row:
                  entity: media_player.kinderzimmer
                  name: Alexa Leon/Adi
              - type: conditional
                conditions:
                  - entity: media_player.esszimmer
                    state: playing
                row:
                  entity: media_player.esszimmer
                  name: Alexa Esszimmer
              - type: conditional
                conditions:
                  - entity: media_player.bad
                    state: playing
                row:
                  entity: media_player.bad
                  name: Alexa Bad
            grid_options:
              columns: 12
              rows: 6
            state_color: false
            show_header_toggle: true
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Aktive Timer / Alarme
            heading_style: subtitle
            icon: mdi:heating-coil
          - type: entities
            entities:
              - type: conditional
                conditions:
                  - entity: sensor.bad_next_timer
                    state_not: unknown
                  - entity: sensor.bad_next_timer
                    state_not: unavailable
                row:
                  entity: sensor.bad_next_timer
                  name: Alexa Bad Timer
              - type: conditional
                conditions:
                  - entity: sensor.keller_next_timer
                    state_not: unknown
                  - entity: sensor.keller_next_timer
                    state_not: unavailable
                row:
                  entity: sensor.keller_next_timer
                  name: Alexa Luca Timer
              - type: conditional
                conditions:
                  - entity: sensor.esszimmer_next_timer
                    state_not: unknown
                  - entity: sensor.esszimmer_next_timer
                    state_not: unavailable
                row:
                  entity: sensor.esszimmer_next_timer
                  name: Alexa Esszimmer Timer
              - type: conditional
                conditions:
                  - entity: sensor.kinderzimmer_next_timer
                    state_not: unknown
                  - entity: sensor.kinderzimmer_next_timer
                    state_not: unavailable
                row:
                  entity: sensor.kinderzimmer_next_timer
                  name: Alexa Leon/Adi Timer
              - type: conditional
                conditions:
                  - entity: sensor.bad_next_alarm
                    state_not: unknown
                  - entity: sensor.bad_next_alarm
                    state_not: unavailable
                row:
                  entity: sensor.bad_next_alarm
                  name: Alexa Bad Alarm
              - type: conditional
                conditions:
                  - entity: sensor.keller_next_alarm
                    state_not: unknown
                  - entity: sensor.keller_next_alarm
                    state_not: unavailable
                row:
                  entity: sensor.keller_next_alarm
                  name: Alexa Luca Alarm
              - type: conditional
                conditions:
                  - entity: sensor.esszimmer_next_alarm
                    state_not: unknown
                  - entity: sensor.esszimmer_next_alarm
                    state_not: unavailable
                row:
                  entity: sensor.esszimmer_next_alarm
                  name: Alexa Esszimmer Alarm
              - type: conditional
                conditions:
                  - entity: sensor.kinderzimmer_next_alarm
                    state_not: unknown
                  - entity: sensor.kinderzimmer_next_alarm
                    state_not: unavailable
                row:
                  entity: sensor.kinderzimmer_next_alarm
                  name: Alexa Leon/Adi Alarm
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Stromverbrauch
            heading_style: subtitle
            icon: mdi:power-plug-battery-outline
          - type: entities
            entities:
              - entity: sensor.solarnet_pv_leistung
                name: PV Anlage
              - entity: >-
                  sensor.house_basement_utility_room_dryer_socket_power_measurement_current
                name: Trockner
              - entity: >-
                  sensor.house_basement_utility_room_washer_socket_power_measurement_current
                name: Waschmaschine
              - entity: >-
                  sensor.house_basement_utility_room_washer_old_socket_power_measurement_current
                name: Waschmaschine Alt
              - entity: >-
                  sensor.house_ground_floor_family_kitchen_dishwasher_socket_power_measurement_current
                name: Spülmaschine
              - entity: >-
                  sensor.house_ground_floor_family_kitchen_oven_socket_power_measurement_current
                name: Backofen
              - entity: >-
                  sensor.house_ground_floor_family_living_room_fridge_socket_power_measurement_current
                name: Kühlschrank
              - entity: >-
                  sensor.house_first_floor_leon_door_socket_power_measurement_current
                name: Leon/Adi Steckdose Türe
              - entity: >-
                  sensor.house_first_floor_parents_door_socket_power_measurement_current
                name: Elternschlafzimmer Steckdose Türe
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Energie aktueller Tag
            heading_style: subtitle
            icon: mdi:home-floor-negative-1
          - type: energy-distribution
            link_dashboard: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Geräte
            heading_style: subtitle
            icon: mdi:home-floor-negative-1
          - type: entities
            entities:
              - entity: sensor.iphone_von_tobias_battery_level
                name: iPhone Tobi
              - entity: sensor.jana_iphone_battery_level
                name: iPhone Jana
              - entity: vacuum.roborock_qrevo_s
                name: DG Roborock Q-Revo S
              - entity: vacuum.roborock_s7_maxv
                name: EG Roborock S7 Max
              - entity: sensor.io_series_8_9_fb12
                name: Zahnbürste Oral B
              - entity: sensor.io_series_8_9_fb12_batterie
                name: Zahnbürste Oral B Batterie
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          grid_options:
            columns: full
          card_mod:
            style: |
              ha-card {
                height: 100%;              
              }
        column_span: 4
        card_mod:
          style: |
            ha-card {
              height: 3em !important;              
            }
    type: sections
    max_columns: 4
    cards: []
    badges:
      - type: custom:auto-entities
        card:
          square: false
          type: grid
          columns: 1
        card_param: cards
        filter:
          exclude:
            - state: 'off'
            - state: idle
          include:
            - entity_id: /^alert(.).*
              state: 'on'
              options:
                type: custom:mushroom-template-card
                primary: Alarm
                secondary: '!!!'
                icon: mdi:alert-circle
                icon_color: red
                fill_container: true
                layout: vertical
                multiline_secondary: false
                tap_action:
                  action: fire-dom-event
                  browser_mod:
                    service: browser_mod.popup
                    data:
                      dismissable: true
                      autoclose: false
                      title: Alarm
                      timeout: 30000
                      content:
                        type: horizontal-stack
                        cards:
                          - type: custom:auto-entities
                            show_empty: true
                            card:
                              type: entities
                              card_mod:
                                style: |
                                  ha-card {
                                    background-color: red;
                                    border-radius: 5px;
                                    --primary-color: white;
                                    --paper-item-icon-color: white;
                                    --secondary-text-color: white;
                                    height: 8em !important;    
                                    overflow-y: scroll !important;
                                  }
                            filter:
                              include:
                                - entity_id: /^alert(.).*
                                  options:
                                    secondary_info: last-changed
                              exclude:
                                - state: 'off'
                                - state: idle
                            sort:
                              method: last_changed
                              reverse: true
                            grid_options:
                              columns: full
                card_mod:
                  style: |
                    ha-card { 
                      --icon-size: 1.8em;
                      --icon-symbol-size: 1.8em;
                      --card-primary-font-size: 0.7em;
                      --card-secondary-font-size: 0.7em;
                      --card-primary-line-height: 1.0em;
                      --card-secondary-line-height: 1.0em;
                      animation: blink 1s linear infinite; 
                    }            
                    @keyframes blink { 50% {opacity: 0;} }
        show_empty: true
      - type: custom:mushroom-template-card
        primary: '{{ states(''sensor.outdoor_temperature'') }} °C'
        secondary: |-
          {% if states(entity) == "on" %}
            Regen
          {% elif  state_attr('weather.kirchberg_jagst', 'uv_index') > 4 %}
            UV Index: {{ state_attr('weather.kirchberg_jagst', 'uv_index') }}
          {% else %}    
          {% endif %}
        icon: |-
          {% if states(entity) == "on" %}
            mdi:weather-rainy
          {% elif is_state('weather.kirchberg_jagst', 'rainy') %}
            mdi:weather-rainy
          {% elif is_state('weather.kirchberg_jagst', 'lightning') %}
            mdi:weather-lightning
          {% elif is_state('weather.kirchberg_jagst', 'lightning-rainy') %}
            mdi:weather-lightning
          {% elif is_state('weather.kirchberg_jagst', 'snowy') %}
            mdi:weather-snowy
          {% elif is_state('weather.kirchberg_jagst', 'snowy') %}
            mdi:weather-snowy  
          {% elif is_state('weather.kirchberg_jagst', 'windy') %}
            mdi:weather-windy
          {% elif is_state('weather.kirchberg_jagst', 'windy-variant') %}
            mdi:weather-windy 
          {% elif is_state('weather.kirchberg_jagst', 'sunny') %}
            mdi:weather-sunny
          {% else %}
            mdi:weather-cloudy
          {% endif %}
        entity: binary_sensor.house_outdoor_roof_weather_precipitation
        tap_action:
          action: more-info
          entity: sensor.outdoor_temperature
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% elif  state_attr('weather.kirchberg_jagst', 'uv_index') > 10 %}
            pink
          {% elif  state_attr('weather.kirchberg_jagst', 'uv_index') > 8 %}
            purple
          {% elif  state_attr('weather.kirchberg_jagst', 'uv_index') > 5 %}
            orange
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style: |
            ha-card { 
              --icon-size: 1.8em;
              --icon-symbol-size: 1.8em;
              --card-primary-font-size: 0.7em;
              --card-secondary-font-size: 0.7em;
              --card-primary-line-height: 1.0em;
              --card-secondary-line-height: 1.0em;
              {% if states('binary_sensor.house_outdoor_roof_weather_precipitation') != 'off' %}
              animation: blink 1s linear infinite; 
              {% endif %}
            }
            @keyframes blink { 50% {opacity: 0;} }
      - type: custom:mushroom-template-card
        primary: >-
          {% if
          states('sensor.house_basement_plant_room_main_electricity_meter_consumption')
          | float(0) > 0 %}
            Netzverbrauch
          {% else %}
             Einspeisung
          {% endif %}
        secondary: >-
          {% if
          states('sensor.house_basement_plant_room_main_electricity_meter_consumption')
          | float(0) > 0 %}
            {{ states('sensor.house_basement_plant_room_main_electricity_meter_consumption') }} kW
          {% else %}
            {{ states('sensor.house_basement_plant_room_main_electricity_meter_yield') }} kW    
          {% endif %}
        icon: mdi:power-plug-battery-outline
        entity: sensor.house_basement_plant_room_main_electricity_meter_consumption
        tap_action:
          action: none
        icon_color: >-
          {% if states('binary_sensor.pv_error') == 'on' %}
            red
          {% elif
          states('sensor.house_basement_plant_room_main_electricity_meter_consumption')
          | float(0) > 0 %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style: |
            ha-card { 
              --icon-size: 1.8em;
              --icon-symbol-size: 1.8em;
              --card-primary-font-size: 0.7em;
              --card-secondary-font-size: 0.7em;
              --card-primary-line-height: 1.0em;
              --card-secondary-line-height: 1.0em;
              {% if states('binary_sensor.pv_error') == 'on' %}
              animation: blink 1s linear infinite; 
              {% endif %}
            }
            @keyframes blink { 50% {opacity: 0;} }
      - type: custom:mushroom-template-card
        primary: Services
        icon: mdi:lan-connect
        entity: binary_sensor.binary_sensor_service_status
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              title: Services
              timeout: 20000
              size: wide
              content:
                type: grid
                cards:
                  - type: heading
                    heading: Services
                    heading_style: subtitle
                    icon: mdi:home-floor-negative-1
                  - type: entities
                    entities:
                      - type: custom:template-entity-row
                        entity: binary_sensor.internet_available
                        name: Internet verfügbar
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            green
                          {% else %}
                            red
                          {% endif %}    
                        state: ''
                      - type: custom:template-entity-row
                        entity: binary_sensor.knx_gateway_ernertex
                        name: KNX Gateway Ernertex
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            green
                          {% else %}
                            red
                          {% endif %}    
                        state: ''
                      - type: custom:template-entity-row
                        entity: binary_sensor.knx_gateway_mdt
                        name: KNX Gateway MDT
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            green
                          {% else %}
                            red
                          {% endif %}    
                        state: ''
                      - type: custom:template-entity-row
                        entity: binary_sensor.proxmox
                        name: Proxmox
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            green
                          {% else %}
                            red
                          {% endif %}    
                        state: ''
                      - type: custom:template-entity-row
                        entity: binary_sensor.nextcloud
                        name: Nextcloud
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            green
                          {% else %}
                            red
                          {% endif %}    
                        state: ''
                      - type: custom:template-entity-row
                        entity: binary_sensor.urbackup
                        name: Ubackup
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            green
                          {% else %}
                            red
                          {% endif %}    
                        state: ''
                    state_color: true
                    grid_options:
                      columns: 12
                      rows: 6
                    card_mod:
                      style: |
                        ha-card {
                          height: 100%;
                        }
        icon_color: |-
          {% if states(entity) == 'on' %}
            green
          {% else %}
            red
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style: |
            ha-card { 
              --icon-size: 1.8em;
              --icon-symbol-size: 1.8em;
              --card-primary-font-size: 0.7em;
              --card-secondary-font-size: 0.7em;
              --card-primary-line-height: 1.0em;
              --card-secondary-line-height: 1.0em;
              {% if states('binary_sensor.binary_sensor_service_status') == 'off' %}
              animation: blink 1s linear infinite; 
              {% endif %}
            }
            @keyframes blink { 50% {opacity: 0;} }
                    
      - type: custom:mushroom-template-card
        primary: Garage
        secondary: >-
          {% if
          states('binary_sensor.house_outdoor_garage_garage_garage_door_door_reed_close')
          == "on" %}
            zu
          {% elif
          states('binary_sensor.house_outdoor_garage_garage_garage_door_door_reed_open')
          == "on" %}
            geöffnet !!!
          {% else %}
           lüften
          {% endif %}
        icon: >-
          {% if
          states('binary_sensor.house_outdoor_garage_garage_garage_door_door_reed_close')
          == "on" %}
            mdi:garage-lock
          {% elif
          states('binary_sensor.house_outdoor_garage_garage_garage_door_door_reed_open')
          == "on" %}
            mdi:garage-alert
          {% else %}
            mdi:garage-alert
          {% endif %}
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              title: Garagensteuerung
              timeout: 10000
              content:
                type: entities
                entities:
                  - entity: button.house_outdoor_garage_garage_door_open
                    name: Garage öffnen
                    icon: mdi:garage-open
                  - entity: button.house_outdoor_garage_garage_door_close
                    name: Garage schliessen
                    icon: mdi:garage
                  - entity: button.house_outdoor_garage_garage_door_ventilation
                    name: Garage lüften
                    icon: mdi:air-filter
        icon_color: >-
          {% if
          states('binary_sensor.house_outdoor_garage_garage_garage_door_door_reed_close')
          == "on" %}
            green
          {% elif
          states('binary_sensor.house_outdoor_garage_garage_garage_door_door_reed_open')
          == "on" %}
            red
          {% else %}
            yellow
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Haustüre
        secondary: |-
          {% if states(entity) != "off" %}
            offen !!!
          {% else %}
           zu
          {% endif %}
        icon: |-
          {% if states(entity) != "off" %}
             mdi:door
          {% else %}
            mdi:door-closed
          {% endif %}
        entity: binary_sensor.house_ground_floor_family_hallway_main_door_status
        tap_action:
          action: perform-action
          perform_action: button.press
          target:
            entity_id: button.house_ground_floor_family_hallway_main_door_open
          confirmation:
            text: Haustüre wirklich öffnen?
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Automatik
        secondary: |-
          {% if states(entity) == "off" %}
            an
          {% else %}
           aus
          {% endif %}
        icon: |-
          {% if states(entity) == "off" %}
            mdi:lock
          {% else %}
            mdi:lock-off
          {% endif %}
        entity: switch.house_ground_floor_family_hallway_main_door_lock
        tap_action:
          action: perform-action
          perform_action: switch.toggle
          target:
            entity_id: switch.house_ground_floor_family_hallway_main_door_lock
          confirmation:
            text: Automatische Verrieglung wirklich ändern?
        icon_color: |-
          {% if states(entity) == "off" %}
            green
          {% else %}
            red
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Präsenz
        secondary: |-
          {% if states(entity) != "off" %}
            Bewegung !!!
          {% else %}
           aus
          {% endif %}
        icon: |-
          {% if states(entity) != "off" %}
            mdi:human
          {% else %}
            mdi:human
          {% endif %}
        entity: binary_sensor.house_presence_all_response
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              dismissable: true
              autoclose: false
              title: Präsenz
              size: normal
              timeout: 10000
              content:
                type: entities
                entities:
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_corridor_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_corridor_presence
                      name: Keller Flur
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_toilet_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_toilet_presence
                      name: Keller WC
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_guest_room_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_guest_room_presence
                      name: Luca Zimmer
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_hobby_room_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_hobby_room_presence
                      name: Hobbyraum
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_plant_room_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_plant_room_presence
                      name: IT Raum
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_storage_room_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_storage_room_presence
                      name: Speisekammer
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_utility_room_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_utility_room_presence
                      name: Technikraum
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_dining_room_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_family_dining_room_presence
                      name: Esszimmer
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_kitchen_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_ground_floor_family_kitchen_presence
                      name: Küche
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_living_room_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_family_living_room_presence
                      name: Wohnzimmer
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_hallway_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_ground_floor_family_hallway_presence
                      name: Eingangsbereich
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_toilet_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_ground_floor_family_toilet_presence
                      name: Gäste WC
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_parents_dressing_room_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_parents_dressing_room_presence
                      name: Ankleide
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_parents_parents_bath_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_parents_parents_bath_presence
                      name: Elternbad
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_parents_play_room_presence_ceiling_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_parents_play_room_presence_ceiling_presence
                      name: Spielzimmer
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_bathroom_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_bathroom_presence
                      name: DG Bad
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_corridor_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_corridor_presence
                      name: DG Flur
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_leon_ceiling_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_leon_ceiling_presence
                      name: Leon / Adi
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_parents_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_parents_presence
                      name: Elternschlafzimmer
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_wellness_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_wellness_presence
                      name: Wellness
                grid_options:
                  columns: 12
                  rows: 6
                card_mod:
                  style: |
                    ha-card {
                      height: 100%;
                      overflow-y: scroll !important;
                    }
        hold_action:
          action: none
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Präsenz Außen
        secondary: |-
          {% if states(entity) != "off" %}
            Bewegung !!!
          {% else %}
           aus
          {% endif %}
        icon: |-
          {% if states(entity) != "off" %}
            mdi:nature-people
          {% else %}
            mdi:nature-people
          {% endif %}
        entity: binary_sensor.house_presence_outdoor_all_response
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              dismissable: true
              autoclose: false
              title: Präsenz Außen
              size: normal
              timeout: 10000
              content:
                type: entities
                entities:
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_outdoor_entrance_entrance_presence_garage_wall_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_outdoor_entrance_entrance_presence_garage_wall_presence
                      name: Garage Außen
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_outdoor_garage_garage_presence
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_outdoor_garage_garage_presence
                      name: Garage Innen
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_outdoor_facade_north_presence_main_door_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_outdoor_facade_north_presence_main_door_presence
                      name: Haustüre
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_outdoor_facade_south_presence_wall_presence
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_outdoor_facade_south_presence_wall_presence
                      name: Terrasse
                grid_options:
                  columns: 12
                  rows: 6
                card_mod:
                  style: |
                    ha-card {
                      height: 100%;
                      overflow-y: scroll !important;
                    }
        hold_action:
          action: none
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Fenster
        secondary: |-
          {% if states(entity) != "off" %}
            offen !!!
          {% else %}
           zu
          {% endif %}
        icon: |-
          {% if states(entity) != "off" %}
            mdi:window-open
          {% else %}
            mdi:window-closed
          {% endif %}
        entity: binary_sensor.helper_window_closed_all
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              dismissable: true
              autoclose: false
              title: Fensterstatus
              size: normal
              timeout: 10000
              content:
                type: entities
                entities:
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_guest_room_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_guest_room_window_status
                      name: Luca
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_hobby_room_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_hobby_room_window_status
                      name: Hobbyraum
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_basement_toilet_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_toilet_window_status
                      name: UG WC
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_basement_utility_room_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_utility_room_window_status
                      name: Technikraum
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_basement_storage_room_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_basement_storage_room_window_status
                      name: Speisekammer
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_hallway_main_door_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_family_hallway_main_door_status
                      name: Haustüre
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_toilet_window_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_family_toilet_window_status
                      name: Gäste WC
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_kitchen_window_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_family_kitchen_window_status
                      name: Küche
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_family_dining_room_slide_door_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_family_dining_room_slide_door_status
                      name: Esszimmer Schiebetüre
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_parents_play_room_window_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_parents_play_room_window_status
                      name: Spielzimmer
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_parents_dressing_room_window_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_parents_dressing_room_window_status
                      name: Ankleide
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_parents_parents_bath_window_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_parents_parents_bath_window_status
                      name: Elternbad Fenster
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_ground_floor_parents_parents_bath_door_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_ground_floor_parents_parents_bath_door_status
                      name: Elternbad Tür
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_leon_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_leon_window_status
                      name: Leon/Adi
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_parents_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_parents_window_status
                      name: Eltern Schlafzimmer
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_bathroom_window_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_bathroom_window_status
                      name: DG Bad
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.house_first_floor_wellness_door_status
                        state_not: 'off'
                    row:
                      entity: binary_sensor.house_first_floor_wellness_door_status
                      name: Wellness Türe
                  - type: conditional
                    conditions:
                      - entity: >-
                          binary_sensor.house_first_floor_wellness_window_east_window_status
                        state_not: 'off'
                    row:
                      entity: >-
                        binary_sensor.house_first_floor_wellness_window_east_window_status
                      name: Wellness Fenster
                grid_options:
                  columns: 12
                  rows: 6
                card_mod:
                  style: |
                    ha-card {
                      height: 100%;
                      overflow-y: scroll !important;
                    }
        hold_action:
          action: none
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Lichter
        secondary: |-
          {% if states(entity) != "off" %}
            an !!!
          {% else %}
           aus
          {% endif %}
        icon: |-
          {% if states(entity) != "off" %}
            mdi:lightbulb-alert
          {% else %}
            mdi:lightbulb
          {% endif %}
        entity: binary_sensor.helper_house_light_all_power_response
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              dismissable: true
              autoclose: false
              title: Fensterstatus
              size: normal
              timeout: 10000
              content:
                type: entities
                entities:
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_corridor_ceiling_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_corridor_ceiling_light
                      name: Keller Flur Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_guest_room_back_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_guest_room_back_light
                      name: Luca Zimmer Licht Bett
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_guest_room_center_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_guest_room_center_light
                      name: Luca Zimmer Licht Mitte
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_guest_room_front_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_guest_room_front_light
                      name: Luca Zimmer Licht Schreibtisch
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_hobby_room_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_hobby_room_light
                      name: Hobbyraum Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_storage_room_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_storage_room_light
                      name: Speisekammer Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_toilet_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_toilet_light
                      name: Keller WC Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_basement_utility_room_light
                        state_not: 'off'
                    row:
                      entity: light.house_basement_utility_room_light
                      name: Technikraum Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_ground_floor_family_dining_room_light
                        state_not: 'off'
                    row:
                      entity: light.house_ground_floor_family_dining_room_light
                      name: Esszimmer Licht
                  - type: conditional
                    conditions:
                      - entity: light.esszimmer
                        state_not: 'off'
                    row:
                      entity: light.esszimmer
                      name: Esszimmer Lampe
                  - type: conditional
                    conditions:
                      - entity: light.house_ground_floor_family_hallway_light
                        state_not: 'off'
                    row:
                      entity: light.house_ground_floor_family_hallway_light
                      name: Eingangsbereich Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_ground_floor_family_kitchen_light
                        state_not: 'off'
                    row:
                      entity: light.house_ground_floor_family_kitchen_light
                      name: Küche Licht
                  - type: conditional
                    conditions:
                      - entity: >-
                          light.house_ground_floor_family_kitchen_ambient_sockel_light
                        state_not: 'off'
                    row:
                      entity: >-
                        light.house_ground_floor_family_kitchen_ambient_sockel_light
                      name: Küche Licht Sockel
                  - type: conditional
                    conditions:
                      - entity: >-
                          light.house_ground_floor_family_kitchen_ambient_workspace_light
                        state_not: 'off'
                    row:
                      entity: >-
                        light.house_ground_floor_family_kitchen_ambient_workspace_light
                      name: Küche Licht Arbeitsfläche
                  - type: conditional
                    conditions:
                      - entity: light.house_ground_floor_family_living_room_light
                        state_not: 'off'
                    row:
                      entity: light.house_ground_floor_family_living_room_light
                      name: Wohnzimmer Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_ground_floor_family_toilet_light
                        state_not: 'off'
                    row:
                      entity: light.house_ground_floor_family_toilet_light
                      name: Gäste WC Licht
                  - type: conditional
                    conditions:
                      - entity: >-
                          light.house_ground_floor_parents_dressing_room_ceiling_light
                        state_not: 'off'
                    row:
                      entity: >-
                        light.house_ground_floor_parents_dressing_room_ceiling_light
                      name: Ankleide Licht
                  - type: conditional
                    conditions:
                      - entity: >-
                          light.house_ground_floor_parents_parents_bath_ceiling_light
                        state_not: 'off'
                    row:
                      entity: >-
                        light.house_ground_floor_parents_parents_bath_ceiling_light
                      name: Elternbad Licht
                  - type: conditional
                    conditions:
                      - entity: >-
                          light.house_ground_floor_parents_parents_bath_shower_light
                        state_not: 'off'
                    row:
                      entity: >-
                        light.house_ground_floor_parents_parents_bath_shower_light
                      name: Elternbad Dusche Licht
                  - type: conditional
                    conditions:
                      - entity: >-
                          light.house_ground_floor_parents_play_room_ceiling_light
                        state_not: 'off'
                    row:
                      entity: light.house_ground_floor_parents_play_room_ceiling_light
                      name: Spielzimmer Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_bathroom_ceiling_light
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_bathroom_ceiling_light
                      name: DG Bad Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_bathroom_mirror_light
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_bathroom_mirror_light
                      name: DG Bad Spiegel
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_corridor_ceiling_light
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_corridor_ceiling_light
                      name: DG Flur Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_leon_ceiling_light
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_leon_ceiling_light
                      name: Leon/Adi Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_leon_ceiling_light_230v
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_leon_ceiling_light_230v
                      name: Leon/Adi Feuerwehrlampe
                  - type: conditional
                    conditions:
                      - entity: switch.house_first_floor_leon_car_light
                        state_not: 'off'
                    row:
                      entity: switch.house_first_floor_leon_car_light
                      name: Leon/Adi Licht Feuerwehrbett
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_parents_ceiling_light
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_parents_ceiling_light
                      name: Schlafzimmer Eltern Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_wellness_ceiling_light
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_wellness_ceiling_light
                      name: Wellness Licht
                  - type: conditional
                    conditions:
                      - entity: light.house_first_floor_wellness_shower_light
                        state_not: 'off'
                    row:
                      entity: light.house_first_floor_wellness_shower_light
                      name: Wellness Licht Dusche
                  - type: conditional
                    conditions:
                      - entity: light.wled_kitchen
                        state_not: 'off'
                    row:
                      entity: light.wled_kitchen
                      name: Küche Status Licht
                  - type: conditional
                    conditions:
                      - entity: light.wled_hallway
                        state_not: 'off'
                    row:
                      entity: light.wled_hallway
                      name: Eingangsbereich Status Licht
                  - type: conditional
                    conditions:
                      - entity: light.esphome_web_ug_luca_luca_led_streifen
                        state_not: 'off'
                    row:
                      entity: light.esphome_web_ug_luca_luca_led_streifen
                      name: Luca LED Streifen
                  - type: conditional
                    conditions:
                      - entity: light.esphome_web_dg_leon_leon_led_streifen
                        state_not: 'off'
                    row:
                      entity: light.esphome_web_dg_leon_leon_led_streifen
                      name: Leon/Adi LED Streifen
                grid_options:
                  columns: 12
                  rows: 6
                card_mod:
                  style: |
                    ha-card {
                      height: 100%;
                      overflow-y: scroll !important;
                    }
        hold_action:
          action: none
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Trockner
        secondary: |-
          {% if states(entity) != "off" %}
            {{ states('sensor.house_basement_utility_room_dryer_socket_power_measurement_current') }} W
          {% else %}
            aus
          {% endif %}
        icon: mdi:air-filter
        entity: switch.house_basement_utility_room_dryer_socket
        tap_action:
          action: perform-action
          perform_action: switch.toggle
          target:
            entity_id: switch.house_basement_utility_room_dryer_socket
          confirmation:
            text: Trockner Steckdose schalten?
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Waschmaschine
        secondary: |-
          {% if states(entity) != "off" %}
            {{ states('sensor.house_basement_utility_room_washer_socket_power_measurement_current') }} W
          {% else %}
            aus
          {% endif %}
        icon: mdi:washing-machine-alert
        entity: switch.house_basement_utility_room_washer_socket
        tap_action:
          action: perform-action
          perform_action: switch.toggle
          target:
            entity_id: switch.house_basement_utility_room_washer_socket
          confirmation:
            text: Waschmaschine Steckdose schalten?
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Waschmaschine Alt
        secondary: |-
          {% if states(entity) != "off" %}
            {{ states('sensor.house_basement_utility_room_washer_old_socket_power_measurement_current') }} W
          {% else %}
            aus
          {% endif %}
        icon: mdi:washing-machine-alert
        entity: switch.house_basement_utility_room_washer_old_socket
        tap_action:
          action: perform-action
          perform_action: switch.toggle
          target:
            entity_id: switch.house_basement_utility_room_washer_old_socket
          confirmation:
            text: Waschmaschine Steckdose schalten?
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Spülmaschine
        secondary: |-
          {% if states(entity) != "off" %}
            {{ states('sensor.house_ground_floor_family_kitchen_dishwasher_socket_power_measurement_current') }} W
          {% else %}
            aus
          {% endif %}
        icon: mdi:dishwasher
        entity: switch.house_ground_floor_family_kitchen_dishwasher_socket_power
        tap_action:
          action: perform-action
          perform_action: switch.toggle
          target:
            entity_id: switch.house_ground_floor_family_kitchen_dishwasher_socket_power
          confirmation:
            text: Spülmaschine Steckdose schalten?
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Backofen
        secondary: |-
          {% if states(entity) | float(0) > 5 %}
            {{ states('sensor.house_ground_floor_family_kitchen_oven_socket_power_measurement_current') }} W
          {% else %}
            Standby
          {% endif %}
        icon: mdi:toaster-oven
        entity: >-
          sensor.house_ground_floor_family_kitchen_oven_socket_power_measurement_current
        tap_action:
          action: none
        icon_color: |-
          {% if states(entity) | float(0) > 5 %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Kühlschrank
        secondary: |-
          {% if states(entity) | float(0) > 20 %}
            {{ states('sensor.house_ground_floor_family_living_room_fridge_socket_power_measurement_current') }} W
          {% else %}
            Aus !!!
          {% endif %}
        icon: mdi:fridge
        entity: >-
          sensor.house_ground_floor_family_living_room_fridge_socket_power_measurement_current
        tap_action:
          action: more-info
          entity: >-
            sensor.house_ground_floor_family_living_room_fridge_socket_power_measurement_current
        icon_color: |-
          {% if states(entity) | float(0) > 20 %}
            green
          {% else %}
            red
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Gefriertruhe
        secondary: >-
          {{
          states('sensor.smart_switch_23071874506804510d0948e1e9d1ea81_power') |
          int }} W
        icon: mdi:rectangle
        entity: input_boolean.freezer_running_status
        tap_action:
          action: more-info
          entity: sensor.smart_switch_23071874506804510d0948e1e9d1ea81_power
        icon_color: |-
          {% if states(entity) == 'on' %}
            green
          {% else %}
            red
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style: |
            ha-card { 
              --icon-size: 1.8em;
              --icon-symbol-size: 1.8em;
              --card-primary-font-size: 0.7em;
              --card-secondary-font-size: 0.7em;
              --card-primary-line-height: 1.0em;
              --card-secondary-line-height: 1.0em;
              {% if states('input_boolean.freezer_running_status') != 'on' %}
              animation: blink 1s linear infinite; 
              {% endif %}
            }
            @keyframes blink { 50% {opacity: 0;} }
      - type: custom:mushroom-template-card
        primary: Lüfter
        secondary: |-
          {% if states(entity) != "off" %}
            an
          {% else %}
            aus
          {% endif %}
        icon: mdi:fan
        entity: switch.house_ground_floor_family_living_room_ventilation_power
        tap_action:
          action: perform-action
          perform_action: switch.toggle
          target:
            entity_id: switch.house_ground_floor_family_living_room_ventilation_power
          confirmation:
            text: Lüfter schalten?
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 {% if states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_WORKING' or states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_RETURNING' %}
                 --shape-animation: spin 3s linear infinite;
                 {% endif %}
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;      
               }
            mushroom-state-info$: |
              .container {
                 --card-primary-font-size: 0.7em;
                 --card-secondary-font-size: 0.7em;
                 --card-primary-line-height: 1.0em;
                 --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Kamera
        secondary: Türe
        icon: mdi:video
        entity: sensor.house_basement_plant_room_main_electricity_meter_consumption
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              dismissable: true
              autoclose: false
              title: Türklingel
              size: fullscreen
              timeout: 60000
              content:
                type: horizontal-stack
                cards:
                  - type: custom:advanced-camera-card
                    cameras:
                      - camera_entity: camera.facade_door
                        live_provider: go2rtc
                  - type: custom:advanced-camera-card
                    cameras:
                      - camera_entity: camera.facade_north
                        live_provider: go2rtc
        icon_color: primary
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: Kamera
        secondary: Live
        icon: mdi:video
        entity: input_button.helper_press_show_door
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              dismissable: true
              autoclose: false
              title: Birdseye
              size: fullscreen
              timeout: 60000
              content:
                type: horizontal-stack
                cards:
                  - type: custom:advanced-camera-card
                    cameras:
                      - camera_entity: camera.birdseye
                        live_provider: go2rtc
        icon_color: primary
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;
               }
            mushroom-state-info$: |
              .container {
               --card-primary-font-size: 0.7em;
               --card-secondary-font-size: 0.7em;
               --card-primary-line-height: 1.0em;
               --card-secondary-line-height: 1.0em;
              }
      - type: custom:mushroom-template-card
        primary: |-
          Rasenmäher
          ({{ states('sensor.luba_vsm5l4ku_batterie') }}%)
        secondary: >-
          {% if states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_WORKING'
          %}  
            gemäht:{{ states('sensor.luba_vsm5l4ku_fortschritt') }}%
          {% elif states('sensor.luba_vsm5l4ku_aktivitatsmodus') ==
          'MODE_RETURNING' %}
            Rückkehr
          {% elif states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_READY'
          %}
            Angedockt
          {% elif states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_PAUSE'
          %}
            Laden
          {% else %}
            -
          {% endif %}
        icon: mdi:mower
        entity: sensor.luba_vsm5l4ku_batterie
        tap_action:
          action: more-info
          entity: lawn_mower.luba_vsm5l4ku
        icon_color: >-
          {% if states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_READY'
          %}
            green
          {% elif states('sensor.luba_vsm5l4ku_typ_der_geratepositionierung') ==
          'CHARGE_ON' %}
            yellow
          {% else %}
            red
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style:
            mushroom-shape-icon$: |
              .shape 
               {
                 {% if states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_WORKING' or states('sensor.luba_vsm5l4ku_aktivitatsmodus') == 'MODE_RETURNING' %}
                 --shape-animation: spin 3s linear infinite;
                 {% endif %}
                 --icon-symbol-size: 1.4em;
                 --icon-size: 1.8em;      
               }
            mushroom-state-info$: |
              .container {
                 --card-primary-font-size: 0.7em;
                 --card-secondary-font-size: 0.7em;
                 --card-primary-line-height: 1.0em;
                 --card-secondary-line-height: 1.0em;
              }
                    
      - type: custom:mushroom-template-card
        primary: Bewässerung
        secondary: >
          Zistern
          ({{states('sensor.house_outdoor_garage_cisterne_cistern_fill_level')}}%)
        icon: mdi:flower
        entity: binary_sensor.irrigation
        tap_action:
          action: fire-dom-event
          browser_mod:
            service: browser_mod.popup
            data:
              title: Services
              timeout: 20000
              size: wide
              content:
                type: grid
                cards:
                  - type: heading
                    heading: Gartenbewässerung
                    heading_style: subtitle
                    icon: mdi:flower
                  - type: entities
                    entities:
                      - type: custom:template-entity-row
                        entity: >-
                          switch.house_outdoor_garden_flower_patch_east_irrigation_power
                        name: Blumenbeet Hofeinfahrt
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            red
                          {% else %}
                            gray
                          {% endif %}    
                        toggle: true
                        icon: |-
                          {% if is_state(config.entity, 'on') %}
                            mdi:flower-pollen
                          {% else %}
                            mdi:flower
                          {% endif %}
                      - type: custom:template-entity-row
                        entity: house/outdoor/garden/flower-patch-main-door/irrigation
                        name: Blumenbeet Haustüre
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            red
                          {% else %}
                            gray
                          {% endif %}    
                        toggle: true
                        icon: |-
                          {% if is_state(config.entity, 'on') %}
                            mdi:flower-pollen
                          {% else %}
                            mdi:flower
                          {% endif %}
                      - type: custom:template-entity-row
                        entity: >-
                          switch.house_outdoor_garden_grass_house_irrigation_power
                        name: Rasen Haus
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            red
                          {% else %}
                            gray
                          {% endif %}    
                        toggle: true
                        icon: |-
                          {% if is_state(config.entity, 'on') %}
                            mdi:flower-pollen
                          {% else %}
                            mdi:flower
                          {% endif %}
                      - type: custom:template-entity-row
                        entity: >-
                          switch.house_outdoor_garden_grass_field_irrigation_power
                        name: Rasen nähe Feld
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            red
                          {% else %}
                            gray
                          {% endif %}    
                        toggle: true
                        icon: |-
                          {% if is_state(config.entity, 'on') %}
                            mdi:flower-pollen
                          {% else %}
                            mdi:flower
                          {% endif %}
                      - type: custom:template-entity-row
                        entity: >-
                          switch.house_outdoor_garden_vegetable_bed_irrigation_power
                        name: Gemüse
                        color: |-
                          {% if is_state(config.entity, 'on') %}
                            red
                          {% else %}
                            gray
                          {% endif %}    
                        toggle: true
                        icon: |-
                          {% if is_state(config.entity, 'on') %}
                            mdi:flower-pollen
                          {% else %}
                            mdi:flower
                          {% endif %}
                    state_color: true
                    grid_options:
                      columns: 12
                      rows: 6
                    card_mod:
                      style: |
                        ha-card {
                          height: 100%;
                        }
        icon_color: |-
          {% if states(entity) == 'on' %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style: |
            ha-card { 
              --icon-size: 1.8em;
              --icon-symbol-size: 1.8em;
              --card-primary-font-size: 0.7em;
              --card-secondary-font-size: 0.7em;
              --card-primary-line-height: 1.0em;
              --card-secondary-line-height: 1.0em;
              {% if states('binary_sensor.irrigation') == 'on' %}
              animation: blink 1s linear infinite; 
              {% endif %}
            }
            @keyframes blink { 50% {opacity: 0;} }
                    
      - type: custom:mushroom-template-card
        primary: Pool
        secondary: |-
          {% if states(entity) != "off" %}
            {{ states('sensor.tasmota_energy_power') }} W
          {% else %}
            aus
          {% endif %}
        icon: mdi:pool
        entity: switch.tasmota
        tap_action:
          action: perform-action
          perform_action: switch.toggle
          target:
            entity_id: switch.tasmota
          confirmation:
            text: Pool schalten?
        icon_color: |-
          {% if states(entity) != "off" %}
            yellow
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style: |
            ha-card { 
              --icon-size: 1.8em;
              --icon-symbol-size: 1.8em;
              --card-primary-font-size: 0.7em;
              --card-secondary-font-size: 0.7em;
              --card-primary-line-height: 1.0em;
              --card-secondary-line-height: 1.0em;
              {% if states('sensor.tasmota_energy_power') == 'on' %}
              animation: blink 1s linear infinite; 
              {% endif %}
            }
            @keyframes blink { 50% {opacity: 0;} }
      - type: custom:mushroom-template-card
        primary: Klima
        secondary: |-
          {% if states(entity) == "cool" %}
            kühlen
          {% elif states(entity) == "unavailable" %}
            ausgesteckt
          {% elif states(entity) != "off" %}
            {{ states(entity) }}
          {% else %}
            aus
          {% endif %}
        icon: mdi:air-conditioner
        entity: climate.ac_pro_breeze_leon
        tap_action:
          action: more-info
          entity: climate.ac_pro_breeze_leon
        icon_color: |-
          {% if states(entity) != "off" %}
            red
          {% else %}
            green
          {% endif %}
        fill_container: true
        layout: vertical
        multiline_secondary: false
        card_mod:
          style: |
            ha-card { 
              --icon-size: 1.8em;
              --icon-symbol-size: 1.8em;
              --card-primary-font-size: 0.7em;
              --card-secondary-font-size: 0.7em;
              --card-primary-line-height: 1.0em;
              --card-secondary-line-height: 1.0em;
              {% if states('climate.ac_pro_breeze_leon') != 'off' and states('climate.ac_pro_breeze_leon') != 'unavailable %}
              animation: blink 1s linear infinite; 
              {% endif %}
            }
            @keyframes blink { 50% {opacity: 0;} }
      - type: custom:stack-in-card
        cards:
          - type: gauge
            entity: sensor.helper_max_co2_int
            name: Luftqualität
            needle: true
            min: 0
            max: 3000
            segments:
              - from: 0
                color: green
              - from: 800
                color: orange
              - from: 1200
                color: red
            card_mod:
              style:
                ha-gauge:
                  $: |
                    svg.text > .value-text {
                      font-size: 3em !important;
                    }
                    svg {
                      height: 3.1em;
                    }
                .: |
                  ha-card {
                    height: 100% !important;
                  }
                  .name {
                    font-size: 0.7em !important;
                  }
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Luftqualität
                  timeout: 20000
                  size: fullscreen
                  content:
                    type: vertical-stack
                    cards:
                      - type: horizontal-stack
                        title: Untergeschoss
                        cards:
                          - type: gauge
                            entity: sensor.esphome_web_ug_luca_co2
                            name: Luca
                            needle: true
                            min: 0
                            max: 2000
                            segments:
                              - from: 0
                                color: green
                              - from: 800
                                color: orange
                              - from: 1200
                                color: red
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                        card_mod:
                          style: |
                            ha-card {
                              height: 100% !important;                      
                            }
                            ha-card .name {
                              font-size: 0.7em;
                            }
                      - type: horizontal-stack
                        title: Erdgeschoss
                        cards:
                          - type: gauge
                            entity: >-
                              sensor.house_ground_floor_family_living_room_ceiling_co2
                            name: Wohnzimmer
                            needle: true
                            min: 0
                            max: 2000
                            segments:
                              - from: 0
                                color: green
                              - from: 800
                                color: orange
                              - from: 1200
                                color: red
                          - type: gauge
                            entity: sensor.esphome_eg_bath_co2
                            name: Elternbad
                            needle: true
                            min: 0
                            max: 2000
                            segments:
                              - from: 0
                                color: green
                              - from: 800
                                color: orange
                              - from: 1200
                                color: red
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                        card_mod:
                          style: |
                            ha-card {
                              height: 100% !important;                      
                            }
                            ha-card .name {
                              font-size: 0.7em;
                            }
                      - type: horizontal-stack
                        title: Obergeschoss
                        cards:
                          - type: gauge
                            entity: sensor.house_first_floor_parents_ceiling_co2
                            name: Elternschlafzimmer
                            needle: true
                            min: 0
                            max: 2000
                            segments:
                              - from: 0
                                color: green
                              - from: 800
                                color: orange
                              - from: 1200
                                color: red
                          - type: gauge
                            entity: sensor.esphome_web_dg_leon_co2
                            name: Leon / Adi
                            needle: true
                            min: 0
                            max: 2000
                            segments:
                              - from: 0
                                color: green
                              - from: 800
                                color: orange
                              - from: 1200
                                color: red
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                        card_mod:
                          style: |
                            ha-card {
                              height: 100% !important; 
                            }                    
                            ha-card .name {
                              font-size: 0.7em;
                            }
                    card_mod:
                      style: |
                        ha-card {
                          height: 100% !important; 
                        }                    
                        ha-card .name {
                          font-size: 0.7em;
                        }
      - type: custom:stack-in-card
        cards:
          - type: gauge
            entity: sensor.helper_max_humidity_int
            name: Luftfeuchtigkeit
            needle: true
            min: 0
            max: 100
            segments:
              - from: 0
                color: green
              - from: 60
                color: orange
              - from: 75
                color: red
            card_mod:
              style:
                ha-gauge:
                  $: |
                    svg.text > .value-text {
                      font-size: 3em !important;
                    }
                    svg {
                      height: 3.1em;
                    }
                .: |
                  ha-card {
                    height: 100% !important;
                  }
                  .name {
                    font-size: 0.7em !important;
                  }
            tap_action:
              action: fire-dom-event
              browser_mod:
                service: browser_mod.popup
                data:
                  title: Luftfeuchtigkeit
                  timeout: 20000
                  size: fullscreen
                  content:
                    type: vertical-stack
                    cards:
                      - type: horizontal-stack
                        title: Untergeschoss
                        cards:
                          - type: gauge
                            entity: sensor.esphome_web_ug_luca_humidity
                            name: Luca
                            needle: true
                            min: 0
                            max: 100
                            segments:
                              - from: 0
                                color: green
                              - from: 60
                                color: orange
                              - from: 75
                                color: red
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                        card_mod:
                          style: |
                            ha-card {
                              height: 100% !important;                      
                            }
                            ha-card .name {
                              font-size: 0.7em;
                            }
                      - type: horizontal-stack
                        title: Erdgeschoss
                        cards:
                          - type: gauge
                            entity: >-
                              sensor.house_ground_floor_family_living_room_ceiling_humidity
                            name: Wohnzimmer
                            needle: true
                            min: 0
                            max: 100
                            segments:
                              - from: 0
                                color: green
                              - from: 60
                                color: orange
                              - from: 75
                                color: red
                          - type: gauge
                            entity: sensor.esphome_eg_bath_humidity
                            name: Elternbad
                            needle: true
                            min: 0
                            max: 100
                            segments:
                              - from: 0
                                color: green
                              - from: 60
                                color: orange
                              - from: 75
                                color: red
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                        card_mod:
                          style: |
                            ha-card {
                              height: 100% !important;                      
                            }
                            ha-card .name {
                              font-size: 0.7em;
                            }
                      - type: horizontal-stack
                        title: Obergeschoss
                        cards:
                          - type: gauge
                            entity: sensor.house_first_floor_parents_ceiling_humidity
                            name: Elternschlafzimmer
                            needle: true
                            min: 0
                            max: 100
                            segments:
                              - from: 0
                                color: green
                              - from: 60
                                color: orange
                              - from: 75
                                color: red
                          - type: gauge
                            entity: sensor.esphome_web_dg_leon_humidity
                            name: Leon / Adi
                            needle: true
                            min: 0
                            max: 100
                            segments:
                              - from: 0
                                color: green
                              - from: 60
                                color: orange
                              - from: 75
                                color: red
                          - type: gauge
                            entity: sensor.house_first_floor_wellness_ceiling_humidity
                            name: Wellness
                            needle: true
                            min: 0
                            max: 100
                            segments:
                              - from: 0
                                color: green
                              - from: 60
                                color: orange
                              - from: 75
                                color: red
                          - type: markdown
                            content: ' '
                          - type: markdown
                            content: ' '
                        card_mod:
                          style: |
                            ha-card {
                              height: 100% !important; 
                            }                    
                            ha-card .name {
                              font-size: 0.7em;
                            }
                    card_mod:
                      style: |
                        ha-card {
                          height: 100% !important; 
                        }                    
                        ha-card .name {
                          font-size: 0.7em;
                        }
    header:
      layout: responsive
      badges_position: top
    icon: mdi:home
  - type: sections
    max_columns: 4
    title: Licht
    path: licht
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Untergeschoss
            heading_style: title
            icon: mdi:home-floor-negative-1
          - type: entities
            entities:
              - entity: light.house_basement_corridor_ceiling_light
                name: Keller Flur Licht
              - entity: light.house_basement_hobby_room_light
                name: Hobbyraum Licht
              - entity: light.house_basement_storage_room_light
                name: Speisekammer Licht
              - entity: light.house_basement_toilet_light
                name: Keller WC Licht
              - entity: light.house_basement_utility_room_light
                name: Technikraum Licht
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Luca
            heading_style: title
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: light.house_basement_guest_room_back_light
                name: Luca Bett
              - entity: light.house_basement_guest_room_center_light
                name: Luca Mitte
              - entity: light.house_basement_guest_room_front_light
                name: Luca Schreibtisch
              - entity: light.esphome_web_ug_luca_luca_led_streifen
                name: Luca LED Streifen
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Erdgeschoss
            heading_style: title
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: light.house_ground_floor_parents_play_room_ceiling_light
                name: Spielzimmer Licht
              - entity: light.house_ground_floor_parents_dressing_room_ceiling_light
                name: Ankleide Licht
              - entity: light.house_ground_floor_parents_parents_bath_ceiling_light
                name: Elternbad Licht
              - entity: light.house_ground_floor_parents_parents_bath_shower_light
                name: Elternbad Dusche Licht
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: EG Familie
            heading_style: title
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: light.house_ground_floor_family_dining_room_light
                name: Esszimmer Licht
              - entity: light.esszimmer
                name: Esszimmer Lampe
              - entity: light.house_ground_floor_family_living_room_light
                name: Wohnzimmer Licht
              - entity: light.house_ground_floor_family_toilet_light
                name: Gäste WC Licht
              - entity: light.house_ground_floor_family_hallway_light
                name: Eingangsbereich Licht
              - entity: light.wled_hallway
                name: Eingangsbereich Status Licht
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }     
      - type: grid
        cards:
          - type: heading
            heading: Küche
            heading_style: title
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: light.house_ground_floor_family_kitchen_light
                name: Küche Licht
              - entity: light.house_ground_floor_family_kitchen_ambient_sockel_light
                name: Küche Licht Sockel
              - entity: >-
                  light.house_ground_floor_family_kitchen_ambient_workspace_light
                name: Küche Licht Arbeitsfläche
              - entity: light.wled_kitchen
                name: Küche Statuslicht WLED
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }     
      - type: grid
        cards:
          - type: heading
            heading: Obergeschoss
            heading_style: title
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: light.house_first_floor_bathroom_ceiling_light
                name: DG Bad Licht
              - entity: light.house_first_floor_bathroom_mirror_light
                name: DG Bad Spiegellicht
              - entity: light.house_first_floor_corridor_ceiling_light
                name: DG Flur Licht
              - entity: light.house_first_floor_parents_ceiling_light
                name: Schlafzimmer Eltern Licht
              - entity: light.house_first_floor_wellness_ceiling_light
                name: Wellness Licht
              - entity: light.house_first_floor_wellness_shower_light
                name: Wellness Licht Dusche
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Leon/Adi
            heading_style: title
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: light.house_first_floor_leon_ceiling_light
                name: Leon/Adi Licht
              - entity: light.house_first_floor_leon_ceiling_light_230v
                name: Leon/Adi Feuerwehrlampe
              - entity: switch.house_first_floor_leon_car_light
                name: Leon/Adi Licht Feuerwehrbett
              - entity: light.esphome_web_dg_leon_leon_led_streifen
                name: Leon / Adi LED Streifen
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Nachtlicht Außen
            heading_style: subtitle
            icon: mdi:outdoor-lamp
          - type: entities
            entities:
              - entity: light.house_outdoor_facade_south_wall_door_light
                name: Süden Bad
              - entity: light.house_outdoor_facade_west_wall_light
                name: Hauswand Hofeinfahrt
              - entity: light.house_outdoor_facade_north_flowerbed_light
                name: Hauseingang Blumenbeet
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Außen
            heading_style: subtitle
            icon: mdi:outdoor-lamp
          - type: entities
            entities:
              - entity: light.house_outdoor_balcony_light
                name: Balkon
              - entity: light.house_outdoor_entrance_entrance_garage_door_light
                name: Garagentor
              - entity: light.house_outdoor_entrance_entrance_flowerbed_light
                name: Blumenbeet Hofeinfahrt
              - entity: light.house_outdoor_entrance_entrance_yard_entry_floor_light
                name: Hofeinfahrt Bodenlicht
              - entity: light.house_outdoor_facade_north_wall_light
                name: Wand Hauseingang
              - entity: light.house_outdoor_facade_north_wall_light
                name: Wand Hauseingang
              - entity: light.house_outdoor_facade_south_wall_slide_door_light
                name: Wand Terrasse Schiebetüre
              - entity: light.house_outdoor_facade_south_wall_door_light
                name: Wand Süden Bad
              - entity: light.house_outdoor_facade_west_wall_light
                name: Hauswand Hofeinfahrt
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Garage
            heading_style: subtitle
            icon: mdi:outdoor-lamp
          - type: entities
            entities:
              - entity: light.house_outdoor_garage_garage_light
                name: Garage Innen
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
    icon: mdi:ceiling-light-multiple
    cards: []
    theme: captica
  - type: sections
    max_columns: 4
    title: Jalousien/Rollladen
    path: jalousie
    icon: mdi:blinds-horizontal
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Jalousie Untergeschoss
            heading_style: title
            icon: mdi:home-floor-negative-1
          - type: entities
            entities:
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_basement_guest_room_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_basement_guest_room_blinds
                    name: Luca
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_basement_hobby_room_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_basement_hobby_room_blinds
                    name: Hobbyraum
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_basement_toilet_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_basement_toilet_blinds
                    name: UG WC
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_basement_utility_room_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_basement_utility_room_blinds
                    name: Hauswirtschaftsraum
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }     
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Jalousie Erdgeschoss Wohnen
            heading_style: title
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_ground_floor_family_kitchen_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_ground_floor_family_kitchen_blinds
                    name: Küche
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: >-
                      switch.house_ground_floor_family_dining_room_slide_door_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: >-
                      cover.house_ground_floor_family_dining_room_slide_door_blinds
                    name: Schiebetüre
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_ground_floor_family_living_room_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_ground_floor_family_living_room_blinds
                    name: Wohnzimmmer Fest
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: >-
                      switch.house_ground_floor_family_dining_room_window_solid_south_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: >-
                      cover.house_ground_floor_family_dining_room_window_solid_south_blinds
                    name: Esszimmer Fest Süden
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: >-
                      switch.house_ground_floor_family_dining_room_window_solid_west_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: >-
                      cover.house_ground_floor_family_dining_room_window_solid_west_blinds
                    name: Esszimmer Fest Westen
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Jalousie Erdgeschoss
            heading_style: title
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_ground_floor_family_toilet_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_ground_floor_family_toilet_blinds
                    name: Gäste WC
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_ground_floor_parents_play_room_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_ground_floor_parents_play_room_blinds
                    name: Spielzimmer
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: >-
                      switch.house_ground_floor_parents_dressing_room_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_ground_floor_parents_dressing_room_blinds
                    name: Ankleide
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: >-
                      switch.house_ground_floor_parents_parents_bath_door_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_ground_floor_parents_parents_bath_door_blinds
                    name: Elternbad Türe
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: >-
                      switch.house_ground_floor_parents_parents_bath_window_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: >-
                      cover.house_ground_floor_parents_parents_bath_window_blinds
                    name: Elternbad Fenster
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Jalousie Dachgeschoss
            heading_style: title
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_first_floor_leon_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_first_floor_leon_blinds
                    name: Leon / Adi
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_first_floor_parents_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_first_floor_parents_blinds
                    name: Schlafzimmer Eltern
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_first_floor_bathroom_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_first_floor_bathroom_blinds
                    name: DG Bad
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_first_floor_wellness_door_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_first_floor_wellness_door_blinds
                    name: Wellness Türe
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
              - type: custom:stack-in-card
                cards:
                  - type: custom:mushroom-template-card
                    entity: switch.house_first_floor_wellness_window_east_blinds_lock
                    show_buttons_control: true
                    tap_action:
                      action: toggle
                    icon_color: '{{ ''red'' if states(entity) == ''on'' else ''green'' }}'
                    icon: >-
                      {{ 'mdi:lock' if states(entity) == 'on' else
                      'mdi:lock-off' }}
                    card_mod:
                      style: |
                        ha-card {
                          position: absolute;
                          right: 150px;
                          top: 10px;
                          z-index: 100;
                        }
                  - type: custom:mushroom-cover-card
                    entity: cover.house_first_floor_wellness_window_east_blinds
                    name: Wellness Fenster
                    layout: horizontal
                    show_buttons_control: true
                    tap_action: none
                    card_mod:
                      style: |
                        ha-state-icon {
                          color: #71C5C6;
                        }
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Jalousie Zentral
            heading_style: title
            icon: mdi:window-shutter
          - type: entities
            entities:
              - type: custom:mushroom-cover-card
                entity: cover.house_all_blinds
                name: Komplettes Haus
                secondary_info: none
                layout: horizontal
                show_buttons_control: true
                tap_action: none
                card_mod:
                  style: |
                    ha-state-icon {
                      color: #71C5C6;
                    }
              - type: custom:mushroom-cover-card
                entity: cover.house_basement_all_blinds
                name: Keller
                secondary_info: none
                layout: horizontal
                show_buttons_control: true
                tap_action: none
                card_mod:
                  style: |
                    ha-state-icon {
                      color: #71C5C6;
                    }
              - type: custom:mushroom-cover-card
                entity: cover.house_ground_floor_all_blinds
                name: Erdgeschoss
                secondary_info: none
                layout: horizontal
                show_buttons_control: true
                tap_action: none
                card_mod:
                  style: |
                    ha-state-icon {
                      color: #71C5C6;
                    }
              - type: custom:mushroom-cover-card
                entity: cover.house_first_floor_all_blinds
                name: Dachgeschoss
                secondary_info: none
                layout: horizontal
                show_buttons_control: true
                tap_action: none
                card_mod:
                  style: |
                    ha-state-icon {
                      color: #71C5C6;
                    }
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Referenzfahrt Jalousie
            heading_style: title
            icon: mdi:window-shutter-cog
          - type: entities
            entities:
              - type: custom:stack-in-card
                mode: vertical
                cards:
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_basement_guest_room_blinds_travel_detection
                        name: Luca
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_basement_guest_room_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_basement_hobby_room_blinds_travel_detection
                        name: Hobbyraum
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_basement_hobby_room_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: button.house_basement_toilet_blinds_travel_detection
                        name: UG WC
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_basement_toilet_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_basement_utility_room_blinds_travel_detection
                        name: Waschküche
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_basement_utility_room_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_family_toilet_blinds_travel_detection
                        name: EG Gäste WC
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_family_toilet_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_family_kitchen_blinds_travel_detection
                        name: Küche
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_family_kitchen_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_family_dining_room_window_solid_west_blinds_travel_detection
                        name: Esszimmer West
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_family_dining_room_window_solid_west_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_family_dining_room_window_solid_south_blinds_travel_detection
                        name: Esszimmer Süden
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_family_dining_room_window_solid_south_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_family_dining_room_slide_door_blinds_travel_detection
                        name: Schiebetüre
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_family_dining_room_slide_door_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_family_living_room_blinds_travel_detection
                        name: Wohnzimmer
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_family_living_room_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_parents_parents_bath_door_blinds_travel_detection
                        name: Elternbad Türe
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_parents_parents_bath_door_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_parents_parents_bath_window_blinds_travel_detection
                        name: Elternbad Fenster
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_parents_parents_bath_window_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_parents_play_room_blinds_travel_detection
                        name: Spielzimmer
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_parents_play_room_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_ground_floor_parents_dressing_room_blinds_travel_detection
                        name: Ankleide
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_ground_floor_parents_dressing_room_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: button.house_first_floor_leon_blinds_travel_detection
                        name: Leon / Adi
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_first_floor_leon_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_first_floor_parents_blinds_travel_detection
                        name: Elternschlafzimmer
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_first_floor_parents_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-template-card
                        entity: >-
                          button.house_first_floor_wellness_window_east_blinds_travel_detection
                        primary: Wellness Fenster
                        secondary_info: none
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_first_floor_wellness_window_east_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        icon: mdi:window-shutter-cog
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_first_floor_wellness_door_blinds_travel_detection
                        name: Wellness Türe
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_first_floor_wellness_door_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
                  - type: custom:stack-in-card
                    mode: horizontal
                    cards:
                      - type: custom:mushroom-entity-card
                        entity: >-
                          button.house_first_floor_bathroom_blinds_travel_detection
                        name: DG Bad
                        secondary_info: none
                        icon: mdi:window-shutter-cog
                        tap_action:
                          action: perform-action
                          perform_action: button.press
                          target:
                            entity_id: >-
                              button.house_first_floor_bathroom_blinds_travel_detection
                          confirmation:
                            text: Referenzfahrt starten?
                        card_mod:
                          style: |
                            ha-state-icon {
                              color: #71C5C6;
                            }
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                  overflow-y: scroll !important;
                }
    cards: []
    theme: captica
  - type: sections
    max_columns: 4
    title: Fenster
    path: fenster
    icon: mdi:window-closed
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Fenster Untergeschoss
            heading_style: title
            icon: mdi:home-floor-negative-1
          - type: entities
            entities:
              - entity: binary_sensor.house_basement_guest_room_window_status
                hide_state: false
                name: Luca
                state_color: true
              - entity: binary_sensor.house_basement_hobby_room_window_status
                hide_state: false
                name: Hobbyraum
                state_color: true
              - entity: binary_sensor.house_basement_toilet_window_status
                hide_state: false
                name: WC
                state_color: true
              - entity: binary_sensor.house_basement_utility_room_window_status
                hide_state: false
                name: Technikraum
                state_color: true
              - entity: binary_sensor.house_basement_storage_room_window_status
                hide_state: false
                name: Speisekammer
                state_color: true
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Fenster Erdgeschoß Familie
            heading_style: title
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: >-
                  binary_sensor.house_ground_floor_family_hallway_main_door_reed_lock_status
                hide_state: false
                name: Haustüre automatisch abschließen
                state_color: true
              - entity: >-
                  binary_sensor.house_ground_floor_family_hallway_main_door_status
                hide_state: false
                name: Haustüre
                state_color: true
              - entity: binary_sensor.house_ground_floor_family_toilet_window_status
                hide_state: false
                name: Gäste WC
                state_color: true
              - entity: binary_sensor.house_ground_floor_family_kitchen_window_status
                hide_state: false
                name: Küche
                state_color: true
              - entity: >-
                  binary_sensor.house_ground_floor_family_dining_room_slide_door_status
                hide_state: false
                name: Esszimmer Schiebetüre
                state_color: true
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Fenster Erdgeschoß Elternbereich
            heading_style: title
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: >-
                  binary_sensor.house_ground_floor_parents_play_room_window_status
                hide_state: false
                name: Spielzimmer
                state_color: true
              - entity: >-
                  binary_sensor.house_ground_floor_parents_dressing_room_window_status
                hide_state: false
                name: Ankleide
                state_color: true
              - entity: >-
                  binary_sensor.house_ground_floor_parents_parents_bath_window_status
                hide_state: false
                name: Elternbad Fenster
                state_color: true
              - entity: >-
                  binary_sensor.house_ground_floor_parents_parents_bath_door_status
                hide_state: false
                name: Elternbad Tür
                state_color: true
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Fenster Obergeschoß
            heading_style: title
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: binary_sensor.house_first_floor_leon_window_status
                hide_state: false
                name: Leon/Adi
                state_color: true
              - entity: binary_sensor.house_first_floor_parents_window_status
                hide_state: false
                name: Eltern Schlafzimmer
                state_color: true
              - entity: binary_sensor.house_first_floor_bathroom_window_status
                hide_state: false
                name: Bad
                state_color: true
              - entity: binary_sensor.house_first_floor_wellness_door_status
                hide_state: false
                name: Wellness Tür
                state_color: true
              - entity: >-
                  binary_sensor.house_first_floor_wellness_window_east_window_status
                hide_state: false
                name: Wellness Fenster
                state_color: true
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }      
    cards: []
    theme: captica
  - type: sections
    max_columns: 4
    title: Steckdosen
    path: socket
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Luca
            heading_style: subtitle
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: switch.house_basement_guest_room_back_socketboard_1_2_power
                name: Steckdose Bett 1 und 2
              - entity: switch.house_basement_guest_room_back_socketboard_3_4_power
                name: Steckdose Bett 3 und 4
              - entity: switch.house_basement_guest_room_front_socketboard_1_3_power
                name: Schreibtisch 1 und 2
              - entity: switch.house_basement_guest_room_front_socketboard_4_power
                name: Schreibtisch 3 und 4
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Hobbyraum
            heading_style: subtitle
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: switch.house_basement_hobby_room_back_socketboard_power
                name: rechte Wand (hinten)
              - entity: switch.house_basement_hobby_room_front_socketboard_power
                name: linke Wand (vorne)
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Waschraum
            heading_style: subtitle
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: switch.house_basement_utility_room_dryer_socket
                name: Trockner
              - entity: switch.house_basement_utility_room_washer_socket
                name: Waschmaschine
              - entity: switch.house_basement_utility_room_washer_old_socket
                name: Waschmaschine Alt
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: IT Raum
            heading_style: subtitle
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: switch.house_basement_it_room_socket_1_power
                name: Serverschrank 1
              - entity: switch.house_basement_it_room_socket_2_power
                name: Serverschrank 2
              - entity: switch.house_basement_it_room_socket_3_power
                name: Serverschrank 3
              - entity: switch.house_basement_it_room_socket_4_power
                name: Serverschrank 4
              - entity: switch.house_basement_it_room_socket_5_power
                name: Serverschrank 5
              - entity: switch.house_basement_it_room_amplifier_1_socket_power
                name: Audio 1
              - entity: switch.house_basement_it_room_amplifier_2_socket_power
                name: Audio 2
              - entity: switch.house_basement_it_room_amplifier_3_socket_power
                name: Audio 3
              - entity: switch.house_basement_it_room_amplifier_4_socket_power
                name: Audio 4
              - entity: switch.house_basement_it_room_amplifier_5_socket_power
                name: Audio 5
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Spielzimmer
            heading_style: subtitle
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: >-
                  switch.house_ground_floor_parents_play_room_tv_socketboard_right_and_entry_power
                name: TV Steckdose rechts und Türe
              - entity: >-
                  switch.house_ground_floor_parents_play_room_tv_socketboard_middle_power
                name: TV Steckdose mitte
              - entity: >-
                  switch.house_ground_floor_parents_play_room_tv_socketboard_left_power
                name: TV Steckdose links
              - entity: >-
                  switch.house_ground_floor_parents_play_room_bed_socketboard_left_power
                name: Bett Steckdose links
              - entity: >-
                  switch.house_ground_floor_parents_play_room_bed_socketboard_middle_power
                name: Bett Steckdose mitte
              - entity: >-
                  switch.house_ground_floor_parents_play_room_bed_socketboard_right_power
                name: Bett Steckdose rechts
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Ankleide
            heading_style: subtitle
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: >-
                  switch.house_ground_floor_parents_dressing_room_front_socket_power
                name: Türe (vorne)
              - entity: >-
                  switch.house_ground_floor_parents_dressing_room_window_and_closet_socket_power
                name: Staubsauger (hinten) und Schrank
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Elternbad
            heading_style: subtitle
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: >-
                  switch.house_ground_floor_parents_parents_bath_baby_utils_socket_power
                name: Steckdose Duschwand
              - entity: >-
                  switch.house_ground_floor_parents_parents_bath_door_and_window_left_socket_power
                name: Steckdose Türe und Steckdose Duschwand links
              - entity: >-
                  switch.house_ground_floor_parents_parents_bath_mirror_socket_power
                name: Spiegelschrank
              - entity: >-
                  switch.house_ground_floor_parents_parents_bath_washstand_socket_power
                name: Waschtisch
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Eingangsbereich / Gäste WC
            heading_style: subtitle
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: switch.house_ground_floor_family_hallway_socket_all_power
                name: Eingangsbereich
              - entity: switch.house_ground_floor_family_toilet_socket_all_power
                name: Gäste WC
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Wohnzimmer
            heading_style: subtitle
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: switch.house_ground_floor_family_living_room_tv_socket_power
                name: TV
              - entity: >-
                  switch.house_ground_floor_family_living_room_tv_socketboard_1_power
                name: TV Leiste 1
              - entity: >-
                  switch.house_ground_floor_family_living_room_tv_socketboard_2_power
                name: TV Leiste 2
              - entity: >-
                  switch.house_ground_floor_family_living_room_tv_socketboard_3_power
                name: TV Leiste 3
              - entity: >-
                  switch.house_ground_floor_family_living_room_tv_socketboard_4_power
                name: TV Leiste 4
              - entity: >-
                  switch.house_ground_floor_family_living_room_tv_socketboard_5_power
                name: TV Leiste 5
              - entity: >-
                  switch.house_ground_floor_family_living_room_door_dressing_room_socket_power
                name: Steckdose Türe zur Ankleide
              - entity: >-
                  switch.house_ground_floor_family_living_room_door_hallway_socket_power
                name: Steckdose Türe zum Eingangsbereich
              - entity: >-
                  switch.house_ground_floor_family_living_room_window_socket_power
                name: Steckdose Fenster
              - entity: switch.house_ground_floor_family_living_room_ventilation_power
                name: Lüfter
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Esszimmer
            heading_style: subtitle
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: >-
                  switch.house_ground_floor_family_dining_room_sideboard_socket_left_and_table_power
                name: Steckdose Esstisch und Schrank linke Dose
              - entity: >-
                  switch.house_ground_floor_family_dining_room_sideboard_socket_right_power
                name: Schrank rechte Dose
              - entity: switch.house_ground_floor_family_dining_room_light_230v_power
                name: 230V Licht
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Küche
            heading_style: subtitle
            icon: mdi:home-floor-0
          - type: entities
            entities:
              - entity: >-
                  switch.house_ground_floor_family_kitchen_cooking_island_left_socket_power
                name: Kochinsel Leiste Links (Küchenmaschine)
              - entity: >-
                  switch.house_ground_floor_family_kitchen_cooking_island_bottom_socketboard_middle_socket_power
                name: Kochinsel Leiste Mitte und Vorne unten
              - entity: >-
                  switch.house_ground_floor_family_kitchen_cooking_island_top_socketboard_right_socket_power
                name: Kochinsel Leiste Rechts und Vorne oben
              - entity: >-
                  switch.house_ground_floor_family_kitchen_workspace_left_socket_power
                name: Steckdose Leisten links
              - entity: >-
                  switch.house_ground_floor_family_kitchen_workspace_middle_socket_power
                name: Steckdose Leisten mitte
              - entity: >-
                  switch.house_ground_floor_family_kitchen_workspace_right_socket_power
                name: Steckdose Leisten rechts
              - entity: >-
                  switch.house_ground_floor_family_kitchen_broadcutter_socket_power
                name: Brotschneidemaschine
              - entity: switch.house_ground_floor_family_kitchen_extractor_fan_power
                name: Dunstabzugshaube
              - entity: >-
                  switch.house_ground_floor_family_kitchen_microwave_socket_power
                name: Schrank innen (HUE Bidge)
              - entity: >-
                  switch.house_ground_floor_family_kitchen_cupboard_roof_socket_power
                name: Schrank oben (WLED)
              - entity: >-
                  switch.house_ground_floor_family_kitchen_dishwasher_socket_power
                name: Spülmaschine
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
      - type: grid
        cards:
          - type: heading
            heading: Leon / Adi
            heading_style: subtitle
            icon: mdi:home-floor-1
          - type: entities
            entities:
              - entity: switch.house_first_floor_leon_alexa_socket_power
                name: Alexa
              - entity: switch.house_first_floor_leon_nightlight_socket_power
                name: Nachtlicht
              - entity: >-
                  switch.house_first_floor_leon_wall_inside_middle_outside_middle_front_left_socket_power
                name: Bett Mitte, Außen Mitte, Schrank links
              - entity: switch.house_first_floor_leon_wall_inside_right_socket_power
                name: Bett rechts
              - entity: switch.house_first_floor_leon_wall_outside_left_socket_power
                name: Außen links
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;      
                  overflow-y: scroll !important;
                }
    cards: []
    icon: mdi:power-socket-de
    theme: captica
  - type: sections
    max_columns: 4
    title: Heizung
    path: heizung
    sections:
      - type: grid
        cards:
          - type: heading
            heading: 'Heizung: UG'
            heading_style: title
            icon: mdi:heating-coil
          - type: entities
            entities:
              - type: custom:mushroom-climate-card
                entity: climate.house_basement_guest_room_hvac
                name: Luca
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_basement_hobby_room_hvac
                name: Hobbyraum
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_basement_toilet_hvac
                name: WC
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: 'Heizung: EG'
            heading_style: title
            icon: mdi:heating-coil
          - type: entities
            entities:
              - type: custom:mushroom-climate-card
                entity: climate.house_ground_floor_family_hallway_hvac
                name: Eingangsbereich
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_ground_floor_parents_play_room_hvac
                name: Spielzimmer
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_ground_floor_parents_dressing_room_hvac
                name: Ankleide
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_ground_floor_parents_parents_bath_hvac
                name: Elternbad
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_ground_floor_family_living_room_hvac
                name: Wohnbereich
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: 'Heizung: DG'
            heading_style: title
            icon: mdi:heating-coil
          - type: entities
            entities:
              - type: custom:mushroom-climate-card
                entity: climate.house_first_floor_leon_hvac
                name: Leon/Adi
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_first_floor_parents_hvac
                name: Elternschlafzimmer
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_first_floor_bathroom_hvac
                name: Bad
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
              - type: custom:mushroom-climate-card
                entity: climate.house_first_floor_wellness_hvac
                name: Wellness
                icon: mdi:heat-wave
                show_temperature_control: true
                layout: horizontal
                tap_action:
                  action: more-info
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: 'Heizung: Status'
            heading_style: title
            icon: mdi:poll
          - type: entities
            entities:
              - entity: sensor.luxtronik_261108_0134_dhw_operation_hours
              - entity: sensor.luxtronik_261108_0134_operation_hours_heating
              - entity: sensor.luxtronik_261108_0134_compressor1_operation_hours
              - entity: sensor.luxtronik_261108_0134_operation_hours
              - type: custom:config-template-card
                entities:
                  - number.luxtronik_261108_0134_dhw_target_temperature
                card:
                  type: gauge
                  name: >-
                    ${"Brauchwasser Soll (" +
                    states["number.luxtronik_261108_0134_dhw_target_temperature"].state
                    + ")"}
                  entity: sensor.luxtronik_261108_0134_dhw_temperature
                  max: >-
                    ${states["number.luxtronik_261108_0134_dhw_target_temperature"].state}
                  unit: °C
                  min: 0
                  card_mod:
                    style: |
                      ha-card {
                        height: 100%;
                      }
                      .type-gauge {
                        height: 152px;
                      }
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
                ha-card.gauge {
                  height: 152px;
                }
      - type: grid
        cards:
          - type: heading
            heading: 'Heizung: Status'
            heading_style: title
            icon: mdi:poll
          - type: entities
            entities:
              - entity: climate.luxtronik_261108_0134_heating
                name: Heizung / Wärmepumpe
                vertical: false
                hide_state: false
                state_content:
                  - state
                  - temperature
                  - hvac_action
                  - last_updated
              - entity: switch.luxtronik_261108_0134_domestic_water
                name: Warmwasser
                vertical: false
                hide_state: false
                state_content:
                  - state
                  - last_updated
              - entity: >-
                  binary_sensor.luxtronik_261108_0134_additional_circulation_pump
                name: Zusatz Heizer
                vertical: false
                hide_state: false
                state_content:
                  - last_updated
                  - state
              - entity: switch.luxtronik_261108_0134_heating
                hide_state: false
                show_entity_picture: false
                vertical: false
                name: Heizungsmodus
              - entity: binary_sensor.luxtronik_261108_0134_disturbance_output
              - entity: sensor.luxtronik_261108_0134_status
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: 'Heizung: Temperatur'
            heading_style: title
            icon: mdi:poll
          - type: entities
            entities:
              - entity: sensor.luxtronik_261108_0134_flow_in_temperature
              - entity: sensor.luxtronik_261108_0134_flow_out_temperature
              - entity: sensor.luxtronik_261108_0134_flow_out_temperature_target
              - entity: number.luxtronik_261108_0134_heating_target_correction
                name: Temperatur Ziel Korrektur
                hide_state: false
              - entity: >-
                  number.luxtronik_261108_0134_heating_circuit_curve1_temperature
                name: Heizkurzve 1
                hide_state: false
              - entity: >-
                  number.luxtronik_261108_0134_heating_circuit_curve2_temperature
                name: Heizkurve 2
                hide_state: false
              - entity: >-
                  number.luxtronik_261108_0134_heating_circuit_curve_night_temperature
                name: Heizkurve Nachtabsenkung
                hide_state: false
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                  overflow-y: scroll !important;
                }
    icon: mdi:home-thermometer-outline
    theme: captica
    cards: []
  - type: sections
    max_columns: 4
    title: KAMERA
    path: kamera
    sections:
      - type: custom:advanced-camera-card
        cameras:
          - camera_entity: camera.birdseye
            live_provider: go2rtc
      - type: grid
        cards:
          - type: custom:advanced-camera-card
            cameras:
              - camera_entity: camera.facade_door
                live_provider: go2rtc
      - type: grid
        cards:
          - type: custom:advanced-camera-card
            cameras:
              - camera_entity: camera.facade_north
                live_provider: go2rtc
      - type: custom:advanced-camera-card
        cameras:
          - camera_entity: camera.facade_east
            live_provider: go2rtc
      - type: custom:advanced-camera-card
        cameras:
          - camera_entity: camera.facade_garden
            live_provider: go2rtc
      - type: custom:advanced-camera-card
        cameras:
          - camera_entity: camera.facade_south
            live_provider: go2rtc
      - type: custom:advanced-camera-card
        cameras:
          - camera_entity: camera.facade_west
            live_provider: go2rtc
      - type: custom:advanced-camera-card
        cameras:
          - camera_entity: camera.facade_west_2
            live_provider: go2rtc
    icon: phu:camera-car
    theme: captica
    cards: []
  - type: sections
    max_columns: 4
    title: KALENDER
    path: kalender
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Kalendar
            heading_style: title
          - type: custom:week-planner-card
            calendars:
              - entity: calendar.personlich
                hideInLegend: false
              - entity: calendar.abfall
                color: yellow
            days: 14
            startingDay: monday
            startingDayOffset: '0'
            hideWeekend: false
            noCardBackground: true
            compact: true
            weather:
              showCondition: true
              showTemperature: true
              showLowTemperature: false
              useTwiceDaily: false
              entity: weather.kirchberg_jagst
            locale: de
            showLocation: false
            hidePastEvents: false
            hideDaysWithoutEvents: false
            hideTodayWithoutEvents: false
            combineSimilarEvents: false
            showLegend: false
            legendToggle: false
            grid_options:
              rows: 8
              columns: 4
            columns: {}
        column_span: 4
    icon: mdi:calendar
    theme: captica
    cards: []
  - type: sections
    max_columns: 4
    title: Medien
    path: medien
    icon: phu:alexa-logo
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Alexa EG BAD
            heading_style: title
            icon: mdi:heating-coil
          - type: media-control
            entity: media_player.bad
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Alexa EG Esszimmer
            heading_style: title
            icon: mdi:heating-coil
          - type: media-control
            entity: media_player.esszimmer
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Alexa UG Luca
            heading_style: title
            icon: mdi:heating-coil
          - type: media-control
            entity: media_player.keller
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Alexa DG Leon/Adi
            heading_style: title
            icon: mdi:heating-coil
          - type: media-control
            entity: media_player.kinderzimmer
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Alexa DG Leon/Adi
            heading_style: title
            icon: mdi:heating-coil
          - type: entities
            entities:
              - entity: sensor.bad_next_timer
              - entity: sensor.keller_next_timer
              - entity: sensor.esszimmer_next_timer
              - entity: sensor.kinderzimmer_next_timer
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Alexa Alarm
            heading_style: title
            icon: mdi:heating-coil
          - type: entities
            entities:
              - entity: sensor.bad_next_alarm
              - entity: sensor.keller_next_alarm
              - entity: sensor.esszimmer_next_alarm
              - entity: sensor.kinderzimmer_next_alarm
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
    cards: []
    theme: captica
  - type: sections
    max_columns: 4
    title: Sonstiges
    path: sonstiges
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Gartenbewässerung
            heading_style: subtitle
            icon: mdi:flower
          - type: entities
            entities:
              - type: custom:template-entity-row
                entity: switch.house_outdoor_garden_flower_patch_east_irrigation_power
                name: Blumenbeet Hofeinfahrt
                toggle: true
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    red
                  {% else %}
                    gray
                  {% endif %} 
                icon: |-
                  {% if is_state(config.entity, 'on') %}
                    mdi:flower-pollen
                  {% else %}
                    mdi:flower
                  {% endif %}
              - type: custom:template-entity-row
                entity: house/outdoor/garden/flower-patch-main-door/irrigation
                name: Blumenbeet Haustüre
                toggle: true
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    red
                  {% else %}
                    gray
                  {% endif %}
                icon: |-
                  {% if is_state(config.entity, 'on') %}
                    mdi:flower-pollen
                  {% else %}
                    mdi:flower
                  {% endif %}
              - type: custom:template-entity-row
                entity: switch.house_outdoor_garden_grass_house_irrigation_power
                name: Rasen Haus
                toggle: true
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    red
                  {% else %}
                    gray
                  {% endif %}  
                icon: |-
                  {% if is_state(config.entity, 'on') %}
                    mdi:flower-pollen
                  {% else %}
                    mdi:flower
                  {% endif %}
              - type: custom:template-entity-row
                entity: switch.house_outdoor_garden_grass_field_irrigation_power
                name: Rasen nähe Feld
                toggle: true
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    red
                  {% else %}
                    gray
                  {% endif %}       
                icon: |-
                  {% if is_state(config.entity, 'on') %}
                    mdi:flower-pollen
                  {% else %}
                    mdi:flower
                  {% endif %}
              - type: custom:template-entity-row
                entity: switch.house_outdoor_garden_vegetable_bed_irrigation_power
                name: Gemüse
                toggle: true
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    red
                  {% else %}
                    gray
                  {% endif %}
                icon: |-
                  {% if is_state(config.entity, 'on') %}
                    mdi:flower-pollen
                  {% else %}
                    mdi:flower
                  {% endif %}
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
      - type: grid
        cards:
          - type: heading
            heading: Services
            heading_style: subtitle
            icon: mdi:home-floor-negative-1
          - type: entities
            entities:
              - type: custom:template-entity-row
                entity: binary_sensor.internet_available
                name: Internet verfügbar
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    green
                  {% else %}
                    red
                  {% endif %}    
                state: ''
              - type: custom:template-entity-row
                entity: binary_sensor.knx_gateway_ernertex
                name: KNX Gateway Ernertex
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    green
                  {% else %}
                    red
                  {% endif %}    
                state: ''
              - type: custom:template-entity-row
                entity: binary_sensor.knx_gateway_mdt
                name: KNX Gateway MDT
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    green
                  {% else %}
                    red
                  {% endif %}    
                state: ''
              - type: custom:template-entity-row
                entity: binary_sensor.proxmox
                name: Proxmox
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    green
                  {% else %}
                    red
                  {% endif %}    
                state: ''
              - type: custom:template-entity-row
                entity: binary_sensor.nextcloud
                name: Nextcloud
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    green
                  {% else %}
                    red
                  {% endif %}    
                state: ''
              - type: custom:template-entity-row
                entity: binary_sensor.urbackup
                name: Ubackup
                color: |-
                  {% if is_state(config.entity, 'on') %}
                    green
                  {% else %}
                    red
                  {% endif %}    
                state: ''
            state_color: true
            grid_options:
              columns: 12
              rows: 6
            card_mod:
              style: |
                ha-card {
                  height: 100%;
                }
