Zum Inhalt

YAML – Dashboards

Dokumentation: Dashboards

Hauptdashboard

views:
  - cards: []
    title: HOME
    type: sections
    sections:
      - type: grid
        cards:
          - type: picture-elements
            elements:
              - type: image
                image: /local/images/transparent.png
                style:
                  top: 50%
                  left: 50%
                  width: 100%
                  height: 100%
                  transform: translate(-50%, -50%)
                tap_action:
                  action: navigate
                  navigation_path: /lovelace/enyaq
              - type: state-label
                entity: sensor.skoda_enyaq_letzte_aktualisierung
                prefix: "Last Connect: "
                style:
                  top: 0%
                  left: 0%
                  width: 100%
                  color: black
                  font-weight: normal
                  font-size: 60%
                  text-align: center
                  transform: scale(1,1)
              - type: state-icon
                entity: binary_sensor.skoda_enyaq_fahrzeug_verriegelt
                style:
                  top: 25%
                  left: 0%
                  transform-origin: top-left
                  transform: scale(1,1)
              - type: state-label
                entity: sensor.skoda_enyaq_kilometerstand
                style:
                  top: 0%
                  right: 0%
                  font-weight: bold
                  color: black
                  transform-origin: top-right
                  transform: scale(1,1)
              - type: state-icon
                entity: sensor.skoda_enyaq_batteriestand
                style:
                  bottom: 0%
                  left: 0%
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-label
                entity: sensor.skoda_enyaq_batteriestand
                style:
                  bottom: 0%
                  left: 7%
                  font-weight: bold
                  color: black
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-icon
                entity: sensor.skoda_enyaq_reichweite
                style:
                  bottom: 0%
                  left: 20%
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-label
                entity: sensor.skoda_enyaq_reichweite
                style:
                  bottom: 0%
                  left: 27%
                  font-weight: bold
                  color: black
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-icon
                entity: climate.skoda_enyaq_klimaanlage
                style:
                  bottom: 0%
                  right: 0%
                  transform-origin: bottom-right
                  transform: scale(1,1)
                tap_action:
                  action: more-info
                icon_tap_action:
                  action: more-info
              - type: state-label
                entity: climate.skoda_enyaq_klimaanlage
                style:
                  bottom: 0%
                  right: 8%
                  color: black
                  font-weight: bold
                  transform-origin: bottom-right
                  transform: scale(1,1)
                tap_action:
                  action: more-info
              - type: state-label
                style:
                  top: 10%
                  right: 0%
                  font-weight: bold
                  color: black
                  transform-origin: top-right
                  transform: scale(1,1)
                entity: sensor.skoda_enyaq_tageskilometer
            image: /local/images/Enyaq/Skoda-Enyaq.png
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
              - condition: screen
                media_query: "(min-width: 768px)"
          - type: entities
            entities:
              - entity: sensor.skoda_enyaq_time_to_reach_target_temperature
                name: Klimatisierung läuft noch
                icon: mdi:air-conditioner
                secondary_info: last-updated
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
              - condition: and
                conditions:
                  - condition: state
                    entity: sensor.skoda_enyaq_time_to_reach_target_temperature
                    state_not: unavailable
                  - condition: state
                    entity: sensor.skoda_enyaq_time_to_reach_target_temperature
                    state_not: unknown
          - type: horizontal-stack
            cards:
              - type: custom:mushroom-person-card
                entity: person.enrico_brock
                fill_container: false
                layout: vertical
                icon_type: entity-picture
                primary_info: none
                secondary_info: none
              - type: custom:mushroom-person-card
                entity: person.jana
                layout: vertical
                icon_type: entity-picture
                primary_info: none
                secondary_info: none
              - type: custom:mushroom-person-card
                entity: person.martha
                layout: vertical
                icon_type: entity-picture
                primary_info: none
                secondary_info: none
              - type: custom:mushroom-person-card
                entity: person.karell
                layout: vertical
                icon_type: entity-picture
                primary_info: none
                secondary_info: none
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - square: false
            type: grid
            cards:
              - type: custom:mushroom-chips-card
                chips:
                  - type: template
                    entity: light.licht_status
                    icon: >-
                      {{ 'mdi:lightbulb-group' if states('light.licht_status')
                      == 'on' else 'mdi:lightbulb-group-off' }}
                    icon_color: "{{ 'yellow' if states('light.licht_status') == 'on' }}"
                    tap_action:
                      action: none
                    hold_action:
                      action: perform-action
                      perform_action: light.turn_off
                      data: {}
                      target:
                        entity_id: light.licht_status
                    double_tap_action:
                      action: none
                  - type: template
                    entity: binary_sensor.fenster_state
                    icon: >-
                      {{ 'mdi:window-closed-variant' if
                      states('binary_sensor.fenster_state') == 'off' else
                      'mdi:window-open-variant' }}
                    icon_color: >-
                      {{ 'red' if states('binary_sensor.fenster_state') == 'on'
                      }}
                    hold_action:
                      action: more-info
                    double_tap_action:
                      action: none
                    tap_action:
                      action: none
                  - type: spacer
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.papiermull_ist_dran
                        state: "on"
                    chip:
                      type: entity
                      entity: sensor.altpapier
                      icon_color: blue
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: binary_sensor.biomull_ist_dran
                        state: "on"
                    chip:
                      type: entity
                      entity: sensor.bioabfall
                      icon_color: green
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: binary_sensor.wertstoff_ist_dran
                        state: "on"
                    chip:
                      type: entity
                      entity: sensor.wertstofftonne
                      icon_color: yellow
                  - type: conditional
                    conditions:
                      - entity: binary_sensor.restmull_ist_dran
                        state: "on"
                    chip:
                      type: entity
                      entity: sensor.restabfall
                  - type: spacer
                  - type: weather
                    entity: weather.forecast_home
                    show_temperature: true
                alignment: justify
            columns: 1
          - type: custom:auto-entities
            card:
              show_header_toggle: false
              type: entities
              state_color: true
            filter:
              include:
                - options:
                    secondary_info: last-changed
                  sort:
                    method: name
                  label: fenster_turen
                  state: Offen
                - options:
                    secondary_info: last-changed
                  label: fenster_turen
                  state: Gekippt
                - options:
                    secondary_info: last-changed
                  label: fenster_turen
                  state: "on"
              exclude:
                - entity_id: binary_sensor.fenster_state
            sort:
              method: friendly_name
              reverse: false
              numeric: false
              ignore_case: false
              ip: false
            show_empty: false
            unique: true
            visibility:
              - condition: state
                entity: binary_sensor.fenster_state
                state: "on"
          - square: false
            type: grid
            cards:
              - type: custom:mushroom-chips-card
                chips:
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: binary_sensor.waschmaschine_lauft
                        state: "on"
                    chip:
                      type: entity
                      entity: binary_sensor.waschmaschine_lauft
                      tap_action:
                        action: more-info
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                      icon_color: green
                      content_info: none
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: binary_sensor.trockner_lauft
                        state: "on"
                    chip:
                      type: entity
                      entity: binary_sensor.trockner_lauft
                      tap_action:
                        action: more-info
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                      icon_color: green
                      content_info: none
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: binary_sensor.geschirrspuler_lauft
                        state: "on"
                    chip:
                      type: entity
                      entity: binary_sensor.geschirrspuler_lauft
                      tap_action:
                        action: more-info
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                      icon_color: green
                      content_info: none
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: binary_sensor.fernseher_lauft
                        state: "on"
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                    chip:
                      type: entity
                      entity: binary_sensor.fernseher_lauft
                      tap_action:
                        action: more-info
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                      icon_color: green
                      content_info: none
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: binary_sensor.3d_druck_lauft
                        state: "on"
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                    chip:
                      type: entity
                      entity: binary_sensor.3d_druck_lauft
                      tap_action:
                        action: more-info
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                      icon_color: green
                      content_info: none
                  - type: conditional
                    conditions:
                      - condition: state
                        entity: switch.airbowl
                        state: "on"
                    chip:
                      type: entity
                      entity: switch.airbowl
                      tap_action:
                        action: more-info
                      hold_action:
                        action: toggle
                      double_tap_action:
                        action: none
                      icon_color: green
                      content_info: none
                alignment: center
            columns: 1
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
                  - 0b44724681744be195da6c1d45a77bf6
          - type: horizontal-stack
            cards:
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_enrico_wohnzimmer
                show_state: false
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_enrico_kuche
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_enrico_schlafzimmer
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_enrico_karell
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_enrico_martha
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_enrico_garten
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_enrico_diverse
                icon_height: 40px
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: horizontal-stack
            cards:
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_jana_wohnzimmer
                show_state: false
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_jana_kuche
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_jana_schlafzimmer
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_jana_karell
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_jana_martha
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_jana_garten
                icon_height: 40px
              - show_name: false
                show_icon: true
                type: button
                tap_action:
                  action: toggle
                entity: input_boolean.dashboard_menu_jana_diverse
                icon_height: 40px
            visibility:
              - condition: user
                users:
                  - 0b44724681744be195da6c1d45a77bf6
          - type: conditional
            conditions:
              - condition: or
                conditions:
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                      - condition: state
                        entity: input_boolean.dashboard_menu_enrico_wohnzimmer
                        state: "on"
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - 0b44724681744be195da6c1d45a77bf6
                      - condition: state
                        entity: input_boolean.dashboard_menu_jana_wohnzimmer
                        state: "on"
            card:
              type: vertical-stack
              cards:
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-cover-card
                      entity: cover.terrassentur_links
                      show_position_control: true
                      name: Links
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: none
                      tap_action:
                        action: toggle
                    - type: custom:mushroom-cover-card
                      entity: cover.terrassentur_rechts
                      show_position_control: true
                      name: Rechts
                      tap_action:
                        action: toggle
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: none
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-chips-card
                      chips:
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.stop_cover
                            target:
                              device_id:
                                - 546956c894844fed4b4571bd3d21261f
                                - 38b6d76b99bfa96dede6dc689640a2f9
                          icon: mdi:stop
                        - type: entity
                          entity: scene.wohnzimmer_rolladen_auf_0
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 0%
                        - type: entity
                          entity: scene.wohnzimmer_rolladen_auf_80
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          name: 80%
                          content_info: name
                        - type: entity
                          entity: scene.wohnzimmer_rolladen_auf_100
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 100%
                        - type: entity
                          entity: automation.wohnzimmer_rolladen
                          hold_action:
                            action: more-info
                          double_tap_action:
                            action: none
                          icon: mdi:home-automation
                      alignment: center
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-light-card
                      entity: light.licht_am_sofa
                      name: Sofa
                      icon: mdi:light-recessed
                    - type: custom:mushroom-light-card
                      entity: light.licht_am_esstisch
                      name: Esstisch
                      icon: mdi:ceiling-light-multiple-outline
                - type: custom:mushroom-light-card
                  entity: light.led_holzwand_seekarte
                  layout: horizontal
                  show_brightness_control: true
                  collapsible_controls: false
                  icon_type: icon
                  name: Seekarte
                - type: custom:mushroom-light-card
                  entity: light.led_holzwand
                  layout: horizontal
                  show_brightness_control: true
                  collapsible_controls: false
                  icon_type: icon
                  name: Holzwand
                  icon: ""
                - type: conditional
                  conditions:
                    - condition: state
                      entity: light.led_lampe
                      state_not: unavailable
                  card:
                    type: custom:mushroom-light-card
                    layout: horizontal
                    show_brightness_control: true
                    collapsible_controls: false
                    icon_type: icon
                    icon: mdi:alarm-light-outline
                    use_light_color: true
                    show_color_control: true
                    entity: light.led_lampe
                    name: LED Lampe
                    show_color_temp_control: true
                - type: conditional
                  conditions:
                    - condition: state
                      entity: light.anker
                      state_not: unavailable
                  card:
                    type: custom:mushroom-light-card
                    entity: light.anker
                    layout: horizontal
                    show_brightness_control: true
                    collapsible_controls: false
                    icon_type: icon
                    name: Anker
                    icon: ""
                    use_light_color: true
                    show_color_control: true
                - type: custom:mushroom-media-player-card
                  entity: media_player.wohnzimmer_lautsprecher
                  use_media_info: true
                  show_volume_level: true
                  volume_controls:
                    - volume_set
                    - volume_buttons
                    - volume_mute
                  media_controls:
                    - on_off
                    - shuffle
                    - previous
                    - play_pause_stop
                    - next
                    - repeat
                - type: custom:mushroom-chips-card
                  chips:
                    - type: entity
                      entity: sensor.hmip_wandthermostat_temperature_wohnzimmer
                      tap_action:
                        action: none
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                    - type: entity
                      entity: sensor.hmip_wandthermostat_humidity_wohnzimmer
                    - type: entity
                      entity: climate.hmip_wohnzimmer
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                  alignment: center
          - type: conditional
            conditions:
              - condition: or
                conditions:
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                      - condition: state
                        entity: input_boolean.dashboard_menu_enrico_kuche
                        state: "on"
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - 0b44724681744be195da6c1d45a77bf6
                      - condition: state
                        entity: input_boolean.dashboard_menu_jana_kuche
                        state: "on"
            card:
              type: vertical-stack
              cards:
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-cover-card
                      show_position_control: true
                      entity: cover.kueche
                      primary_info: none
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-chips-card
                      chips:
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.stop_cover
                            target:
                              device_id: ca60342784a2c98be7e4ad682cab7593
                            data: {}
                          icon: mdi:stop
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                        - type: entity
                          entity: scene.kuchen_rolladen_auf_0
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 0%
                        - type: entity
                          entity: scene.kuchen_rolladen_auf_60
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          name: 40%
                          content_info: name
                          icon: mdi:sunglasses
                        - type: entity
                          entity: scene.kuchen_rolladen_auf_100
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 100%
                      alignment: center
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-light-card
                      icon: ""
                      entity: light.kuche_deckenlampe
                      name: Deckenlampe
                    - type: custom:mushroom-light-card
                      entity: light.kuchenzeile
                      name: Arbeitsfläche
                      icon: ""
                - type: custom:mushroom-media-player-card
                  entity: media_player.kuchenlautsprecher
                  use_media_info: true
                  show_volume_level: true
                  volume_controls:
                    - volume_set
                    - volume_buttons
                  media_controls:
                    - on_off
                    - shuffle
                    - previous
                    - play_pause_stop
                    - next
          - type: conditional
            conditions:
              - condition: or
                conditions:
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                          - c5f685dc82c147ae8ba800ce4b019fc0
                          - c5f685dc82c147ae8ba800ce4b019fc0
                      - condition: state
                        entity: input_boolean.dashboard_menu_enrico_schlafzimmer
                        state: "on"
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - 0b44724681744be195da6c1d45a77bf6
                          - 0b44724681744be195da6c1d45a77bf6
                          - 0b44724681744be195da6c1d45a77bf6
                      - condition: state
                        entity: input_boolean.dashboard_menu_jana_schlafzimmer
                        state: "on"
            card:
              type: vertical-stack
              cards:
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-cover-card
                      show_position_control: true
                      entity: cover.schlafzimmer
                      primary_info: none
                      hold_action:
                        action: more-info
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-chips-card
                      chips:
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.stop_cover
                            target:
                              device_id: 7280029e97dd5d4364f381a3175b09d5
                            data: {}
                          icon: mdi:stop
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                        - type: entity
                          entity: scene.schlafzimmer_rolladen_auf_0
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 0%
                        - type: entity
                          entity: scene.schlafzimmer_rolladen_auf_72
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 72%
                          icon: mdi:window-open-variant
                        - type: entity
                          entity: scene.schlafzimmer_rolladen
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          name: 80%
                          content_info: name
                        - type: entity
                          entity: scene.schlafzimmer_rolladen_auf_100
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 100%
                      alignment: center
                - type: custom:mushroom-light-card
                  icon: ""
                  name: Deckenlampe
                  entity: light.schlafzimmer_lampe
          - type: conditional
            conditions:
              - condition: or
                conditions:
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                      - condition: state
                        entity: input_boolean.dashboard_menu_enrico_karell
                        state: "on"
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - 0b44724681744be195da6c1d45a77bf6
                      - condition: state
                        entity: input_boolean.dashboard_menu_jana_karell
                        state: "on"
            card:
              type: vertical-stack
              cards:
                - type: custom:mushroom-light-card
                  icon: ""
                  entity: light.karell
                  name: Deckenlampe
                - type: conditional
                  conditions:
                    - condition: state
                      entity: light.led_lampe_karell
                      state_not: unavailable
                  card:
                    type: custom:mushroom-light-card
                    icon: ""
                    entity: light.led_lampe_karell
                    name: LED Lampe
                    use_light_color: true
                    show_brightness_control: true
                    show_color_control: true
                    layout: horizontal
                - type: custom:mushroom-media-player-card
                  entity: media_player.karell_lautsprecher
                  fill_container: true
                  use_media_info: true
                  show_volume_level: true
                  volume_controls:
                    - volume_set
                    - volume_buttons
                  media_controls:
                    - on_off
                    - play_pause_stop
                    - previous
                    - next
                - type: custom:mushroom-chips-card
                  chips:
                    - type: entity
                      entity: sensor.hmip_wandthermostat_temperature_karell
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                      content_info: state
                    - type: entity
                      entity: sensor.hmip_wandthermostat_humidity_karell
                    - type: entity
                      entity: climate.hmip_karell_s_zimmer
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                  alignment: center
          - type: conditional
            conditions:
              - condition: or
                conditions:
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                      - condition: state
                        entity: input_boolean.dashboard_menu_enrico_garten
                        state: "on"
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - 0b44724681744be195da6c1d45a77bf6
                      - condition: state
                        entity: input_boolean.dashboard_menu_jana_garten
                        state: "on"
            card:
              type: vertical-stack
              cards:
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-cover-card
                      show_position_control: true
                      tap_action:
                        action: toggle
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: none
                      entity: cover.markise_vorne
                    - type: custom:mushroom-cover-card
                      show_position_control: true
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: none
                      tap_action:
                        action: toggle
                      entity: cover.markise
                      icon: mdi:awning-outline
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-chips-card
                      chips:
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.stop_cover
                            target:
                              device_id:
                                - 41b18466c28b554da66ef622c3c1042f
                                - d71c06b6b4e04ce2e009f4ff3e1aa276
                            data: {}
                          icon: mdi:stop
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.open_cover
                            target:
                              device_id:
                                - 41b18466c28b554da66ef622c3c1042f
                                - d71c06b6b4e04ce2e009f4ff3e1aa276
                          icon: mdi:arrow-up-bold-box-outline
                      alignment: center
                - type: conditional
                  conditions:
                    - condition: state
                      entity: input_boolean.moreinfo
                      state: "on"
                  card:
                    type: entities
                    entities:
                      - entity: sensor.markise_device_temperature
                        name: Markise Gerätetemperatur
                        secondary_info: last-updated
                      - entity: sensor.markise_vorne_device_temperature
                        name: Markise Vorne Gerätetemperatur
                        secondary_info: last-updated
                      - entity: automation.markise_bei_hitze_schliessen
                        secondary_info: last-triggered
                      - entity: input_boolean.sonnenschutz_uber_markise
                        secondary_info: last-changed
          - type: conditional
            conditions:
              - condition: or
                conditions:
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                          - c5f685dc82c147ae8ba800ce4b019fc0
                      - condition: state
                        entity: input_boolean.dashboard_menu_enrico_martha
                        state: "on"
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - 0b44724681744be195da6c1d45a77bf6
                          - 0b44724681744be195da6c1d45a77bf6
                          - 0b44724681744be195da6c1d45a77bf6
                      - condition: state
                        entity: input_boolean.dashboard_menu_jana_martha
                        state: "on"
            card:
              type: vertical-stack
              cards:
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-cover-card
                      show_position_control: true
                      entity: cover.martha
                      primary_info: none
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: none
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-chips-card
                      chips:
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.stop_cover
                            target:
                              device_id: 0365024adcaecac5e2064aa783d0ab64
                            data: {}
                          icon: mdi:stop
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 0%
                          entity: scene.martha_rolladen_auf_0
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          name: 60%
                          content_info: name
                          entity: scene.martha_rolladen_auf_60
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 100%
                          entity: scene.martha_rolladen_auf_100
                      alignment: center
                - type: custom:mushroom-light-card
                  icon: ""
                  entity: light.martha
                  name: Deckenlampe
                - type: custom:mushroom-light-card
                  icon: ""
                  entity: light.led_lampe_martha
                  name: LED Lampe
                  use_light_color: true
                  show_brightness_control: true
                  show_color_control: true
                  collapsible_controls: true
                  show_color_temp_control: false
                  layout: horizontal
                - type: conditional
                  conditions:
                    - condition: state
                      entity: light.yh_rgb2
                      state_not: unavailable
                  card:
                    type: custom:mushroom-light-card
                    entity: light.yh_rgb2
                    layout: horizontal
                    show_brightness_control: true
                    collapsible_controls: false
                    icon_type: icon
                    icon: mdi:led-strip-variant
                    use_light_color: true
                    show_color_control: true
                    name: LED am Bett
                - type: custom:mushroom-media-player-card
                  entity: media_player.martha_lautsprecher
                  fill_container: true
                  use_media_info: true
                  show_volume_level: true
                  volume_controls:
                    - volume_set
                    - volume_buttons
                  media_controls:
                    - on_off
                    - previous
                    - play_pause_stop
                    - next
                - type: custom:mushroom-chips-card
                  chips:
                    - type: entity
                      entity: sensor.martha_wandthermostat_temperatur
                      tap_action:
                        action: none
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                    - type: entity
                      entity: sensor.martha_wandthermostat_luftfeuchtigkeit
                    - type: entity
                      entity: climate.martha_wandthermostat
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                  alignment: center
          - type: conditional
            conditions:
              - condition: or
                conditions:
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - c5f685dc82c147ae8ba800ce4b019fc0
                      - condition: state
                        entity: input_boolean.dashboard_menu_enrico_diverse
                        state: "on"
                  - condition: and
                    conditions:
                      - condition: user
                        users:
                          - 0b44724681744be195da6c1d45a77bf6
                      - condition: state
                        entity: input_boolean.dashboard_menu_jana_diverse
                        state: "on"
            card:
              type: vertical-stack
              cards:
                - type: heading
                  icon: ""
                  heading: Ankleide
                  heading_style: subtitle
                - type: custom:mushroom-light-card
                  layout: horizontal
                  show_brightness_control: false
                  collapsible_controls: false
                  icon_type: icon
                  entity: light.ankleide_lampe
                  name: Deckenlampe
                - type: heading
                  icon: ""
                  heading: Abstellraum
                  heading_style: subtitle
                - type: custom:mushroom-light-card
                  layout: horizontal
                  show_brightness_control: false
                  collapsible_controls: false
                  icon_type: icon
                  entity: light.abstellraum_lampe
                  name: Deckenlampe
                - type: heading
                  icon: ""
                  heading_style: subtitle
                  heading: Diele
                - type: custom:mushroom-light-card
                  entity: light.flur_deckenlampe_eg
                  name: Deckenlampe EG
                  icon: ""
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-light-card
                      entity: light.flur_tischlampe
                      name: Tischlampe
                      icon: ""
                    - type: custom:mushroom-entity-card
                      entity: switch.airbowl
                      tap_action:
                        action: toggle
                - type: heading
                  icon: ""
                  heading: HWR
                  heading_style: subtitle
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-entity-card
                      entity: switch.luftung
                      tap_action:
                        action: none
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: more-info
                    - type: custom:mushroom-entity-card
                      entity: sensor.luftung_switch_0_power
                      name: Leistung
                    - type: custom:mushroom-entity-card
                      entity: automation.luftung_frostschutz_abschaltung_package
                      tap_action:
                        action: none
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: more-info
                      name: Abtauen
                      icon: mdi:snowflake-melt
      - type: grid
        cards:
          - type: conditional
            conditions:
              - condition: and
                conditions:
                  - condition: user
                    users:
                      - c5f685dc82c147ae8ba800ce4b019fc0
                      - c5f685dc82c147ae8ba800ce4b019fc0
                  - condition: or
                    conditions:
                      - condition: state
                        entity: sensor.badezimmer_fenster_links
                        state_not: Geschlossen
                      - condition: state
                        entity: sensor.badezimmer_fenster_rechts
                        state_not: Geschlossen
                      - condition: state
                        entity: binary_sensor.badezimmer_luften_sinnvoll
                        state: "on"
                  - condition: template
                    value_template: >-
                      {{ states('sensor.ebusd_lueftung_wtw04_airinlettemp') |
                      float(30) <
                      states('sensor.badezimmer_wandthermostat_temperatur') |
                      float(20) - 2 }}
                  - condition: state
                    entity: binary_sensor.beschattung_jemand_zuhause
                    state: "on"
            card:
              type: entities
              show_header_toggle: false
              card_mod:
                style: |
                  ha-card {
                    {% set v = states('sensor.badezimmer_wandthermostat_taupunkt_spreizung') | float(0) %}
                    {% if v < 8 %}
                      background-color: rgba(255, 0, 0, 0.12);
                    {% elif v < 10 %}
                      background-color: rgba(255, 165, 0, 0.12);
                    {% else %}
                      background-color: rgba(0, 200, 0, 0.12);
                    {% endif %}
                  } 
              entities:
                - type: custom:template-entity-row
                  name: >-
                    {% set v =
                    states('sensor.badezimmer_wandthermostat_taupunkt_spreizung')
                    | float(0) %}

                    {% if v < 8 %}
                      Bad lüften! Schimmelgefahr
                    {% elif v < 10 %}
                      Bad lüften empfohlen
                    {% else %}
                      Badezimmer OK
                    {% endif %}
                  icon: mdi:water-percent
                  state: >-
                    🌡 {{ states('sensor.badezimmer_wandthermostat_temperatur')
                    }}°C | 💧 {{
                    states('sensor.badezimmer_wandthermostat_luftfeuchtigkeit')
                    }}% | Δ {{
                    states('sensor.badezimmer_wandthermostat_taupunkt_spreizung')
                    }} K
                  card_mod:
                    style: |
                      :host {
                        font-weight: 600;
                      }
          - type: custom:auto-entities
            card:
              type: entities
              show_header_toggle: false
              state_color: true
            filter:
              include:
                - options: {}
                  entity_id: light*
                  state: "on"
              exclude:
                - options: {}
                  entity_id: light.licht_status
                - options: {}
                  entity_id: light.*segment*
            sort:
              method: friendly_name
            show_empty: false
            visibility:
              - condition: state
                entity: light.licht_status
                state: "on"
          - type: custom:advanced-camera-card
            title: Eingangsbereich
            engine: reolink
            always_error_if_entity_unavailable: false
            cameras:
              - camera_entity: camera.eingangsbereich_standardauflosung
                title: Eingangsbereich
                live_provider: auto
                reolink:
                  media_resolution: high
            live:
              draggable: false
              show_image_during_load: false
              display:
                mode: grid
                grid_selected_position: first
                grid_columns: 3
                grid_max_columns: 3
              controls:
                timeline: {}
                builtin: false
                ptz:
                  hide_home: true
                  position: bottom-left
                  orientation: vertical
                  mode: "on"
              auto_unmute: []
              auto_mute:
                - unselected
            elements:
              - type: custom:advanced-camera-card-menu-state-icon
                entity: input_boolean.datenschutzmodus_eingangsbereich
                icon: mdi:shield-lock-outline
                tap_action:
                  action: toggle
                permanent: true
              - type: custom:advanced-camera-card-menu-state-icon
                entity: light.eingangsbereich_scheinwerfer
                tap_action:
                  action: toggle
                permanent: true
              - type: conditional
                conditions:
                  - entity: input_boolean.datenschutzmodus_eingangsbereich
                    state: "on"
                elements:
                  - type: custom:hui-element
                    card_type: markdown
                    content: 🔒 **Datenschutzmodus aktiviert**
                    style:
                      top: 50%
                      left: 50%
                      transform: translate(-50%, -50%)
                      background: black
                      display: flex
                      justify-content: center
                      width: 100%
                      color: white
                      padding: 100% 100%
                      border-radius: 12px
                      font-size: 1.4em
                      pointer-events: none
            menu:
              buttons:
                substreams:
                  enabled: false
                clips:
                  enabled: false
                snapshots:
                  enabled: false
                folders:
                  enabled: false
                camera_ui:
                  enabled: false
                fullscreen:
                  enabled: false
                timeline:
                  enabled: false
                media_player:
                  enabled: false
                mute:
                  enabled: true
                iris:
                  icon: reolink
            status_bar:
              style: none
            media_gallery:
              controls:
                thumbnails:
                  show_details: true
                  show_favorite_control: false
                filter:
                  mode: right
            media_viewer:
              zoomable: false
              controls:
                timeline:
                  mode: below
            view:
              theme:
                themes: []
          - type: custom:advanced-camera-card
            title: Carport
            engine: reolink
            always_error_if_entity_unavailable: false
            cameras:
              - camera_entity: camera.carport_standardauflosung
                title: Carport
                live_provider: auto
                reolink:
                  media_resolution: high
            live:
              draggable: false
              show_image_during_load: false
              display:
                mode: grid
                grid_selected_position: first
                grid_columns: 3
                grid_max_columns: 3
              controls:
                timeline: {}
                builtin: false
                ptz:
                  hide_home: true
                  position: bottom-left
                  orientation: vertical
                  mode: "on"
              auto_mute:
                - unselected
              auto_unmute: []
            elements:
              - type: custom:advanced-camera-card-menu-state-icon
                entity: input_boolean.datenschutzmodus_carport
                icon: mdi:shield-lock-outline
                tap_action:
                  action: toggle
                permanent: true
              - type: custom:advanced-camera-card-menu-state-icon
                entity: light.carport_scheinwerfer
                tap_action:
                  action: toggle
                permanent: true
              - type: conditional
                conditions:
                  - entity: input_boolean.datenschutzmodus_carport
                    state: "on"
                elements:
                  - type: custom:hui-element
                    card_type: markdown
                    content: 🔒 **Datenschutzmodus aktiviert**
                    style:
                      top: 50%
                      left: 50%
                      transform: translate(-50%, -50%)
                      background: black
                      display: flex
                      justify-content: center
                      width: 100%
                      color: white
                      padding: 100% 100%
                      border-radius: 12px
                      font-size: 1.4em
                      pointer-events: none
            menu:
              buttons:
                substreams:
                  enabled: false
                clips:
                  enabled: false
                snapshots:
                  enabled: false
                folders:
                  enabled: false
                camera_ui:
                  enabled: false
                fullscreen:
                  enabled: false
                timeline:
                  enabled: false
                media_player:
                  enabled: false
                mute:
                  enabled: true
                iris:
                  icon: reolink
            status_bar:
              style: none
            media_gallery:
              controls:
                thumbnails:
                  size: 75
                  show_details: true
                  show_favorite_control: false
                filter:
                  mode: right
            media_viewer:
              zoomable: false
              controls:
                timeline:
                  mode: below
            view:
              theme:
                themes: []
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
              - 0b44724681744be195da6c1d45a77bf6
      - type: grid
        cards:
          - type: conditional
            conditions:
              - condition: state
                entity: binary_sensor.skoda_enyaq_ladekabel
                state: "on"
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
            card:
              type: entities
              entities:
                - entity: sensor.skoda_enyaq_ladeleistung
                  name: Ladeleistung
                - entity: sensor.skoda_enyaq_laderate
                  name: Laderate
                - entity: sensor.skoda_enyaq_verbleibende_ladezeit
                  name: Verbleibende Ladezeit
              header:
                type: graph
                entity: sensor.skoda_enyaq_laderate
                detail: 2
                hours_to_show: 10
          - type: custom:power-flow-card-plus
            entities:
              battery:
                entity: sensor.solarbank_3_e2700_pro_akkuleistung
                invert_state: true
                state_of_charge: sensor.solarbank_3_e2700_pro_ladestand
                show_state_of_charge: true
                state_of_charge_unit_white_space: true
                color_value: true
                display_state: two_way
              grid:
                entity: sensor.strom_netzbezug_gesamt
                secondary_info: {}
              solar:
                entity: sensor.system_home_sb_solarleistung
                display_zero_state: true
                secondary_info: {}
              home:
                secondary_info: {}
                entity: sensor.strom_netzbezug_gesamt
                subtract_individual: false
              individual:
                - entity: sensor.heizung_power
                  name: Heizung
                  icon: mdi:heat-wave
                - entity: sensor.luftung_switch_0_power
                  name: Lüftung
                  icon: mdi:hvac
                - entity: sensor.licht_power
                  name: Licht
                  icon: mdi:lightbulb-group-outline
                - entity: sensor.smarthome_leistung_alle_gerate
                  name: Smart Home
                  icon: mdi:home-assistant
                - entity: sensor.gefrierschrank_energy_power
                  name: Gefrierschrank
                  icon: mdi:snowflake
                - entity: sensor.waschmaschine_energy_power
                  name: Waschmaschine
                  icon: mdi:washing-machine
                - entity: sensor.trockner_energy_power
                  name: Trockner
                  icon: mdi:tumble-dryer
                - entity: sensor.geschirrspuler_power
                  name: Geschirrspüler
                  icon: mdi:dishwasher
                - entity: sensor.backofen_power
                  name: Backofen
                  icon: mdi:stove
                - entity: sensor.thermomix_tm6_leistung
                  name: Thermomix TM6
                  icon: mdi:blender
                - entity: sensor.wohnzimmer_steckdose_unterhaltung_power
                  name: Unterhaltung
                  icon: mdi:television
                - entity: sensor.3d_drucker_power
                  name: 3D Drucker
                  icon: mdi:printer-3d
                - entity: sensor.mikrowelle_power
                  name: Mikrowelle
                  icon: mdi:microwave
                - entity: sensor.airfryer_power
                  name: AirFryer
                  icon: mdi:french-fries
                - entity: sensor.thermomix_tm7_power
                  name: Thermomix TM7
                  icon: mdi:blender
                - entity: sensor.badezimmer_steckdosen_power
                  secondary_info: {}
                  name: Föhn
                  icon: mdi:hair-dryer-outline
            clickable_entities: true
            display_zero_lines:
              mode: transparency
              transparency: 50
              grey_color:
                - 189
                - 189
                - 189
            use_new_flow_rate_model: true
            w_decimals: 0
            kw_decimals: 1
            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
            sort_individual_devices: true
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: conditional
            conditions:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
            card:
              type: vertical-stack
              cards:
                - type: energy-usage-graph
          - type: custom:mushroom-chips-card
            chips:
              - type: entity
                entity: sensor.geschirrspuler_power
                icon: mdi:dishwasher
              - type: entity
                entity: sensor.waschmaschine_energy_power
                icon: mdi:washing-machine
              - type: entity
                entity: sensor.trockner_energy_power
                icon: mdi:tumble-dryer
              - type: entity
                entity: sensor.kuhlschrank_energy_power
                icon: mdi:fridge-variant-outline
              - type: entity
                entity: sensor.gefrierschrank_energy_power
                icon: mdi:snowflake
              - type: entity
                entity: sensor.backofen_power
                icon: mdi:stove
              - type: entity
                entity: sensor.mikrowelle_power
                icon: mdi:microwave
              - type: entity
                entity: sensor.3d_drucker_power
                icon: mdi:printer-3d
                hold_action:
                  action: perform-action
                  perform_action: switch.toggle
                  target:
                    device_id: 7170bc125614c5173fb71a1777f5c618
              - type: entity
                entity: sensor.wohnzimmer_steckdose_unterhaltung_power
                icon: mdi:television
              - type: entity
                entity: sensor.heizung_power
                icon: mdi:heat-wave
              - type: entity
                entity: sensor.luftung_switch_0_power
                icon: mdi:hvac
              - type: entity
                entity: sensor.licht_power
                icon: mdi:lightbulb-group-outline
              - type: entity
                entity: sensor.smarthome_leistung_alle_gerate
                icon: mdi:home-assistant
              - type: entity
                entity: sensor.strom_netzbezug_gesamt
                hold_action:
                  action: none
                double_tap_action:
                  action: none
            alignment: center
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
      - user: 0b44724681744be195da6c1d45a77bf6
    icon: mdi:home
    max_columns: 3
    badges:
      - type: entity
        show_name: false
        show_state: false
        show_icon: true
        color: ""
        entity: image.skoda_enyaq_hauptansicht_des_fahrzeugs
        show_entity_picture: true
        tap_action:
          action: navigate
          navigation_path: /lovelace/enyaq
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
          - condition: screen
            media_query: "(min-width: 0px) and (max-width: 767px)"
      - type: entity
        show_name: false
        show_state: false
        show_icon: true
        color: ""
        entity: binary_sensor.skoda_enyaq_fahrzeug_verriegelt
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
          - condition: screen
            media_query: "(min-width: 0px) and (max-width: 767px)"
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        color: ""
        entity: sensor.skoda_enyaq_batteriestand
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
          - condition: screen
            media_query: "(min-width: 0px) and (max-width: 767px)"
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        color: ""
        entity: sensor.skoda_enyaq_reichweite
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
          - condition: screen
            media_query: "(min-width: 0px) and (max-width: 767px)"
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        color: ""
        entity: sensor.skoda_enyaq_kilometerstand
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
          - condition: screen
            media_query: "(min-width: 0px) and (max-width: 767px)"
  - type: sections
    title: Skoda Enyaq "Möhrchen"
    path: enyaq
    sections:
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading_style: subtitle
            visibility:
              - condition: screen
                media_query: "(min-width: 768px)"
          - type: picture-elements
            elements:
              - type: image
                image: /local/images/transparent.png
                style:
                  top: 50%
                  left: 50%
                  width: 100%
                  height: 100%
                  transform: translate(-50%, -50%)
                tap_action:
                  action: navigate
                  navigation_path: /lovelace/enyaq
              - type: state-label
                entity: sensor.skoda_enyaq_letzte_aktualisierung
                prefix: "Last Connect: "
                style:
                  top: 0%
                  left: 0%
                  width: 100%
                  color: black
                  font-weight: normal
                  font-size: 60%
                  text-align: center
                  transform: scale(1,1)
              - type: state-icon
                entity: binary_sensor.skoda_enyaq_fahrzeug_verriegelt
                style:
                  top: 25%
                  left: 0%
                  transform-origin: top-left
                  transform: scale(1,1)
              - type: state-label
                entity: sensor.skoda_enyaq_kilometerstand
                style:
                  top: 0%
                  right: 0%
                  font-weight: bold
                  color: black
                  transform-origin: top-right
                  transform: scale(1,1)
              - type: state-label
                style:
                  top: 10%
                  right: 0%
                  font-weight: bold
                  color: black
                  transform-origin: top-right
                  transform: scale(1,1)
                entity: sensor.skoda_enyaq_tageskilometer
              - type: state-icon
                entity: sensor.skoda_enyaq_batteriestand
                style:
                  bottom: 0%
                  left: 0%
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-label
                entity: sensor.skoda_enyaq_batteriestand
                style:
                  bottom: 0%
                  left: 7%
                  font-weight: bold
                  color: black
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-icon
                entity: sensor.skoda_enyaq_reichweite
                style:
                  bottom: 0%
                  left: 20%
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-label
                entity: sensor.skoda_enyaq_reichweite
                style:
                  bottom: 0%
                  left: 27%
                  font-weight: bold
                  color: black
                  transform-origin: bottom-left
                  transform: scale(1,1)
              - type: state-icon
                entity: climate.skoda_enyaq_klimaanlage
                style:
                  bottom: 0%
                  right: 0%
                  transform-origin: bottom-right
                  transform: scale(1,1)
                tap_action:
                  action: more-info
                icon_tap_action:
                  action: more-info
              - type: state-label
                entity: climate.skoda_enyaq_klimaanlage
                style:
                  bottom: 0%
                  right: 8%
                  color: black
                  font-weight: bold
                  transform-origin: bottom-right
                  transform: scale(1,1)
                tap_action:
                  action: more-info
            image: /local/images/Enyaq/Skoda-Enyaq.png
          - type: conditional
            conditions:
              - condition: state
                entity: binary_sensor.skoda_enyaq_ladekabel
                state: "on"
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
            card:
              type: entities
              entities:
                - entity: sensor.skoda_enyaq_ladeleistung
                  name: Ladeleistung
                - entity: sensor.skoda_enyaq_laderate
                  name: Laderate
                - entity: sensor.skoda_enyaq_verbleibende_ladezeit
                  name: Verbleibende Ladezeit
              header:
                type: graph
                entity: sensor.skoda_enyaq_laderate
                hours_to_show: 10
                detail: 2
          - type: heading
            icon: ""
            heading: Infos
            heading_style: subtitle
          - type: custom:mushroom-person-card
            entity: device_tracker.skoda_enyaq_standort
            layout: horizontal
            fill_container: false
            primary_info: state
            secondary_info: last-changed
          - square: true
            type: grid
            cards:
              - type: picture-elements
                elements:
                  - type: image
                    image: /local/images/Enyaq/enyaq-driver-door.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_ture_vorne_links
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-passenger-door.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_ture_vorne_rechts
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-rear-left-door.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_ture_hinten_links
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-rear-right-door.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_ture_hinten_rechts
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-hood.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_motorhaube
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-tailgate.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_kofferraum
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-driver-window.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_fenster_vorne_links
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-passenger-window.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_fenster_vorne_rechts
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-rear-left-window.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_fenster_hinten_links
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-rear-right-window.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_fenster_hinten_rechts
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-lock.svg
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: binary_sensor.skoda_enyaq_fahrzeug_verriegelt
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                  - type: image
                    image: /local/images/Enyaq/enyaq-charging.png
                    state_filter:
                      "on": opacity(100%)
                      "off": opacity(0%)
                    entity: switch.skoda_enyaq_laden
                    tap_action:
                      action: none
                    style:
                      top: 50%
                      left: 50%
                      width: 100%
                      height: 100%
                      transform: translate(-50%, -50%)
                image: /local/images/Enyaq/enyaq.png
              - type: map
                entities:
                  - entity: device_tracker.skoda_enyaq_standort
                default_zoom: 16
                theme_mode: auto
                hours_to_show: 24
            columns: 2
      - type: grid
        cards:
          - type: heading
            heading: Firmenleasing
            heading_style: subtitle
          - chart_type: bar
            period: month
            type: statistics-graph
            entities:
              - sensor.skoda_enyaq_kilometerstand
            stat_types:
              - change
            hide_legend: true
            logarithmic_scale: false
            days_to_show: 480
            grid_options:
              columns: full
          - type: custom:card-templater
            card:
              type: entities
              entities:
                - entity: sensor.skoda_enyaq_kilometerstand
                  name: Aktueller KM-Stand
                - type: custom:template-entity-row
                  icon: mdi:counter
                  name: Leasing Laufleistung
                  state: |-
                    {{ 
                        "{:,}".format(
                            ((states('input_number.firmenleasing_km_laufleistung_pro_jahr') | int(0)) / 365 *
                            ((as_timestamp(now()) - as_timestamp(states.input_datetime.firmenleasing_beginn.state)) / 86400) | int(0)) 
                            | round(0)
                        ).replace(",", ".") 
                    }} km
                - type: custom:template-entity-row
                  name: Differenz vom KM-Stand
                  icon: mdi:arrow-left-right
                  state: |-
                    {{ 
                        "{:,}".format(
                            (( states('input_number.firmenleasing_km_laufleistung_pro_jahr')|int)
                            / 365 * ((as_timestamp(now()) -
                            as_timestamp(states.input_datetime.firmenleasing_beginn.state)) / 86400)
                            | int(0)) | round(0)  -
                            (states('sensor.skoda_enyaq_kilometerstand')|float |round(0))
                        ).replace(",", ".") 
                    }} km
                - type: custom:template-entity-row
                  name: Restlaufleistung bis Ende
                  icon: mdi:counter
                  state: |-
                    {{ 
                        "{:,}".format(
                            (states('input_number.firmenleasing_km_laufleistung_pro_jahr')|int *
                            (states('input_number.firmenleasing_laufzeit')|int / 12) -
                            states('sensor.skoda_enyaq_kilometerstand')|int +
                            states('input_number.firmenleasing_laufleistung_uberschreitung')|int) |
                            round(0)
                        ).replace(",", ".") 
                    }} km
                - type: custom:template-entity-row
                  name: Tage seit Beginn
                  icon: mdi:calendar-start-outline
                  state: |-
                    {{ 
                        "{:,}".format(
                            ((as_timestamp(now()) -         as_timestamp(states.input_datetime.firmenleasing_beginn.state)) / 86400) | int(0)
                        ).replace(",", ".") 
                    }} Tage
                - type: custom:template-entity-row
                  name: Tage bis Ende
                  icon: mdi:calendar-end-outline
                  state: >-
                    {% set date =
                    as_datetime(states('input_datetime.firmenleasing_beginn'))
                    %}  {% set submonths =
                    states('input_number.firmenleasing_laufzeit')|int %}  {% set
                    dateend = date.replace(year=date.year +
                    submonths//12).replace(month= [12, 1, 2, 3, 4, 5, 6, 7, 8,
                    9, 10, 11, 12][date.month - submonths%12]) - timedelta(1)
                    %}  {{ 
                        "{:,}".format(
                            ((as_timestamp(dateend) - as_timestamp(now())) / 86400) | int(0) | round(0)
                        ).replace(",", ".") 
                    }} Tage
                - type: custom:template-entity-row
                  icon: mdi:calendar-end-outline
                  state: >-
                    {% set date =
                    as_datetime(states('input_datetime.firmenleasing_beginn'))
                    %}  {% set submonths =
                    states('input_number.firmenleasing_laufzeit')|int %}  {% set
                    dateend = date.replace(year=date.year +
                    submonths//12).replace(month= [12, 1, 2, 3, 4, 5, 6, 7, 8,
                    9, 10, 11, 12][date.month - submonths%12]) - timedelta(1)
                    %}  {{ 
                        "{:,}".format(
                            (((states.sensor.skoda_enyaq_kilometerstand.state|int(0) /
                            ((as_timestamp(now()) -                 as_timestamp(states.input_datetime.firmenleasing_beginn.state)) /
                            86400)| int(0)) * ((as_timestamp(dateend) - as_timestamp(now())) /
                            86400) | int(0) | round(0)) +
                            states.sensor.skoda_enyaq_kilometerstand.state|int) | round(0)
                        ).replace(",", ".") 
                    }} km
                  name: Ges. KM-Stand bis Ende
                - type: custom:fold-entity-row
                  head:
                    type: section
                    label: Weitere Einstellungen
                  items:
                    - entity: input_datetime.firmenleasing_beginn
                      name: Beginn
                    - type: custom:template-entity-row
                      name: Ende
                      icon: mdi:calendar-end-outline
                      state: >-
                        {% set date =
                        as_datetime(states('input_datetime.firmenleasing_beginn'))
                        %}  {% set submonths =
                        states('input_number.firmenleasing_laufzeit')|int %}  {{
                          (date.replace(year=date.year + submonths//12).replace(month= [12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12][date.month - submonths%12]) - timedelta(1)).strftime('%d.%m.%Y') 
                        }}
                    - entity: input_number.firmenleasing_laufzeit
                      name: Laufzeit
                    - entity: input_number.firmenleasing_km_laufleistung_pro_jahr
                      name: km pro Jahr
                    - entity: input_number.firmenleasing_laufleistung_uberschreitung
                      name: Mehr-km Toleranz
                  state_color: true
            entities:
              - sensor.skoda_enyaq_kilometerstand
              - input_number.firmenleasing_km_laufleistung_pro_jahr
              - input_number.firmenleasing_laufleistung_uberschreitung
              - input_number.firmenleasing_laufzeit
              - input_datetime.firmenleasing_beginn
              - input_boolean.firmenleasing_editieren
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading: Klimatisierung
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.skoda_enyaq_aussentemperatur
              - entity: climate.skoda_enyaq_klimaanlage
              - type: custom:fold-entity-row
                head:
                  type: section
                  label: Weitere Einstellungen
                items:
                  - entity: switch.skoda_enyaq_fensterheizung_mit_ac
                  - entity: switch.skoda_enyaq_rechte_sitzheizung_mit_ac
                  - entity: switch.skoda_enyaq_linke_sitzheizung_mit_ac
                  - entity: switch.skoda_enyaq_ac_wenn_entsperrt
                  - entity: switch.skoda_enyaq_klimaanlagen_timer_1
                  - entity: switch.skoda_enyaq_klimaanlagen_timer_2
          - type: heading
            icon: ""
            heading: Laden
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.skoda_enyaq_batteriestand
              - entity: switch.skoda_enyaq_laden
              - entity: switch.skoda_enyaq_nach_ladevorgang_entsperren
              - entity: sensor.skoda_enyaq_ladegrenze_in_prozent
              - entity: number.skoda_enyaq_ladelimit
      - type: grid
        cards:
          - type: heading
            heading: Statistiken
            heading_style: subtitle
          - type: custom:apexcharts-card
            update_interval: 1minute
            header:
              show: true
              title: Ladeleistung Statistik
              show_states: false
              colorize_states: true
              floating: false
              standard_format: false
            graph_span: 1day
            span:
              end: day
            show:
              last_updated: false
            all_series_config:
              stroke_width: 2
            now:
              show: true
            series:
              - entity: sensor.skoda_enyaq_batteriestand
                name: Batteriestand
                show:
                  extremas: true
                yaxis_id: batteriestand
                statistics:
                  period: hour
                  align: start
                group_by:
                  duration: 1h
                  func: raw
              - entity: sensor.skoda_enyaq_ladeleistung
                name: Ladeleistung
                show:
                  extremas: true
                yaxis_id: reichweite
                opacity: 0.1
                type: area
                statistics:
                  period: hour
                  align: start
                group_by:
                  duration: 1h
                  func: raw
            yaxis:
              - id: batteriestand
                show: true
                min: 0
                max: 100
                opposite: false
                decimals: 0
              - id: reichweite
                show: true
                min: 0
                opposite: true
                decimals: 0
          - type: custom:apexcharts-card
            update_interval: 5min
            header:
              show: true
              title: Batterie und Reichweiten Statistik
              show_states: false
              colorize_states: true
              floating: false
            graph_span: 12month
            span:
              end: day
            show:
              last_updated: false
            all_series_config:
              stroke_width: 2
            now:
              show: true
            series:
              - entity: sensor.skoda_enyaq_batteriestand
                name: Batteriestand
                show:
                  extremas: true
                yaxis_id: batteriestand
                statistics:
                  period: hour
                  align: start
                  type: max
                group_by:
                  func: max
                  duration: 1d
              - entity: sensor.skoda_enyaq_reichweite
                name: Reichweite
                show:
                  extremas: true
                yaxis_id: reichweite
                opacity: 0.1
                type: area
                statistics:
                  period: hour
                  align: start
                  type: max
                group_by:
                  func: max
                  duration: 1d
            yaxis:
              - id: batteriestand
                show: true
                min: 0
                max: 100
                opposite: false
                decimals: 0
              - id: reichweite
                show: true
                min: 0
                opposite: true
                decimals: 0
          - chart_type: line
            period: day
            type: statistics-graph
            entities:
              - sensor.skoda_enyaq_batteriestand
            stat_types:
              - min
              - max
            days_to_show: 360
          - chart_type: line
            period: day
            type: statistics-graph
            entities:
              - sensor.skoda_enyaq_ladeleistung
            stat_types:
              - min
              - max
            days_to_show: 360
          - chart_type: line
            period: day
            type: statistics-graph
            entities:
              - sensor.skoda_enyaq_kilometerstand
            stat_types:
              - change
            days_to_show: 360
            logarithmic_scale: false
        column_span: 3
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading: Beanstandungen & Mängel
            heading_style: subtitle
          - display_order: alpha_asc
            type: todo-list
            entity: todo.skoda_enyaq
            hide_completed: false
            theme: Google Theme
      - type: grid
        cards:
          - type: heading
            heading: Aktivitäten
            heading_style: subtitle
          - type: logbook
            target:
              entity_id: []
              device_id: 5316fe2c56b1803830257f2c88e5c662
          - type: markdown
            content: >
              <details open>
                <summary><strong>🔧 Aktive Mängel</strong></summary>

              - **05.07.2025 – Lordose knackt**


              - **19.09.2025 – B-Säule Fahrerseite knistert während der Fahrt**


              - **28.03.2025 – Vibrationen im Gaspedal bei 60–70 km/h**


              - **Knarzen der Achsmanschetten beim Einlenken**


              - **Poltern an der Vorderachse**  
                - *17.12.2024:* Bis 30 km/h poltert die Vorderachse bei jeder kleinsten Unebenheit.  
                - *xx.02.2025:* Prüfung in der Werkstatt, Vergleichsfahrzeug wird benötigt.  
                - *03.06.2025:* Koppelstangen vorne getauscht.  
                - *26.08.2025:* Rückmeldung vom Autohaus, dass in Q3/2025 eine Feldmaßnahme von Skoda kommen soll.
                - *13.11.2025:* Wurde erneut von der Werkstatt begutachtet. Keine TPI von Skoda = Keine Reparatur

              </details>


              <details>
                <summary><strong>✅ Erledigte Mängel</strong></summary>

              - **05.07.2025 – Massage ohne Funktion**  
                Massage geht wieder, ohne Zutun.

              - **19.09.2025 – Heckklappenmotor rechts klackert**  
                - *13.11.2025:* Heckklappenmotor getauscht.

              - **Limit Batterieschutz in der App, wenn es unter 0 °C ist**  
                - *13.11.2025:* 12-V-Batterie getauscht.

              - **19.09.2025 – Schachtleiste hintere Tür Beifahrerseite löst
              sich**  
                Die Leiste stand schon bei der Auslieferung etwas ab. 1. Nachbesserung wurde bereits durchgeführt,  
                Leiste neu befestigt. Das Problem besteht weiterhin – die Leiste lässt sich fast komplett herausnehmen.  
                - *13.11.2025:* Schachtleiste erneut befestigt

              </details>
    cards: []
    icon: mdi:car
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
    max_columns: 3
    subview: false
    dense_section_placement: true
    theme: Google Theme
    background:
      opacity: 100
      alignment: center
      size: cover
      repeat: no-repeat
      attachment: scroll
  - type: sections
    max_columns: 3
    title: Media
    path: media
    icon: mdi:multimedia
    dense_section_placement: true
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Wohnzimmer
            heading_style: title
            icon: mdi:sofa-outline
          - type: custom:mushroom-media-player-card
            entity: media_player.wohnzimmer_lautsprecher
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
              - volume_mute
            media_controls:
              - on_off
              - shuffle
              - previous
              - play_pause_stop
              - next
              - repeat
            grid_options:
              columns: full
            collapsible_controls: true
          - type: custom:mushroom-media-player-card
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
              - volume_mute
            media_controls:
              - on_off
              - shuffle
              - previous
              - play_pause_stop
              - next
              - repeat
            grid_options:
              columns: full
            collapsible_controls: true
            entity: media_player.waipu_tv_box_2
      - type: grid
        cards:
          - type: heading
            heading: Küche
            heading_style: title
            icon: mdi:fridge-variant-outline
          - type: custom:mushroom-media-player-card
            entity: media_player.kuchenlautsprecher
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
              - volume_mute
            media_controls:
              - on_off
              - shuffle
              - previous
              - play_pause_stop
              - next
              - repeat
            grid_options:
              columns: full
            collapsible_controls: true
      - type: grid
        cards:
          - type: heading
            heading: Badezimmer
            heading_style: title
            icon: mdi:shower
          - type: custom:mushroom-media-player-card
            entity: media_player.badezimmer
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
              - volume_mute
            media_controls:
              - on_off
              - shuffle
              - previous
              - play_pause_stop
              - next
              - repeat
            grid_options:
              columns: full
            collapsible_controls: true
      - type: grid
        cards:
          - type: heading
            heading: Schlafzimmer
            heading_style: title
            icon: mdi:bed-king-outline
          - type: custom:mushroom-media-player-card
            entity: media_player.schlafzimmer
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
              - volume_mute
            media_controls:
              - on_off
              - shuffle
              - previous
              - play_pause_stop
              - next
              - repeat
            grid_options:
              columns: full
            collapsible_controls: true
      - type: grid
        cards:
          - type: heading
            heading: Martha
            heading_style: title
            icon: mdi:teddy-bear
          - type: custom:mushroom-media-player-card
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
              - volume_mute
            media_controls:
              - on_off
              - shuffle
              - previous
              - play_pause_stop
              - next
              - repeat
            grid_options:
              columns: full
            collapsible_controls: true
            entity: media_player.martha_lautsprecher
      - type: grid
        cards:
          - type: heading
            heading: Karell
            heading_style: title
            icon: mdi:toy-brick
          - type: custom:mushroom-media-player-card
            entity: media_player.karell_lautsprecher
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
              - volume_mute
            media_controls:
              - on_off
              - shuffle
              - previous
              - play_pause_stop
              - next
              - repeat
            grid_options:
              columns: full
            collapsible_controls: true
    theme: Google Theme
    cards: []
  - type: sections
    max_columns: 3
    title: 3D Druck
    path: 3d-druck
    icon: mdi:printer-3d
    sections:
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading_style: subtitle
            heading: Live View
          - camera_view: live
            type: picture-glance
            image: https://demo.home-assistant.io/stub_config/kitchen.png
            entities:
              - entity: light.bambulab_p1s_druckraumbeleuchtung
            camera_image: camera.bambulab_p1s_kamera
            entity: light.bambulab_p1s_druckraumbeleuchtung
          - type: heading
            icon: ""
            heading: Steuerung
            heading_style: subtitle
          - type: custom:ha-bambulab-print_control-card
            printer: b24cacf4ae76462e96daebf1d8197bb8
          - type: heading
            icon: ""
            heading: Aktuelle Druckinformationen
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.bambulab_p1s_name_der_aufgabe
                name: Name der Aufgabe
              - entity: sensor.bambulab_p1s_startzeit
                name: Startzeit
              - entity: sensor.bambulab_p1s_vrs_fertigstellung
                name: Vrs. Fertigstellung
              - entity: sensor.bambulab_p1s_verbleibende_zeit
                name: Verbleibende Zeit
              - entity: sensor.3d_drucker_letzter_verbrauch_wh
                name: Energieverbrauch
              - entity: sensor.3d_drucker_letzte_stromkosten_eur
                name: Stromkosten
          - type: entities
            entities:
              - entity: sensor.bambulab_p1s_aktueller_arbeitsschritt
                name: Arbeitsschritt
              - entity: sensor.bambulab_p1s_druckfortschritt
                name: Druckstatus
              - entity: sensor.bambulab_p1s_druckstatus_layer
                name: Fortschritt
              - entity: sensor.bambulab_p1s_gewicht_des_drucks
                name: Druckgewicht
            grid_options:
              columns: 7
              rows: auto
          - type: picture
            image: https://demo.home-assistant.io/stub_config/t-shirt-promo.png
            image_entity: image.bambulab_p1s_titelbild
            grid_options:
              rows: auto
              columns: 5
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading_style: subtitle
          - type: custom:ha-bambulab-ams-card
            entity: ""
            header: ""
            subtitle: ""
            style: graphic
            ams: 812846dd7747843a9d3179c7339b8cf9
            show_info_bar: false
          - type: custom:ha-bambulab-print_status-card
            printer: b24cacf4ae76462e96daebf1d8197bb8
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading: AMS
            heading_style: subtitle
          - type: custom:ha-bambulab-ams-card
            entity: ""
            header: ""
            subtitle: ""
            style: vector
            ams: 812846dd7747843a9d3179c7339b8cf9
            show_info_bar: true
            show_type: true
            custom_humidity: sensor.bambulab_p1s_ams_luftfeuchtigkeit
          - type: heading
            icon: ""
            heading: Geräteinfo
            heading_style: subtitle
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: entities
            entities:
              - entity: sensor.bambulab_p1s_dusentyp
                name: Düsentyp
              - entity: sensor.bambulab_p1s_dusengrosse
                name: Düsengröße
              - type: divider
              - entity: binary_sensor.bambulab_p1s_online
                name: Status
              - entity: sensor.bambulab_p1s_gesamtnutzung
                name: Gesamtnutzung
              - entity: binary_sensor.bambulab_p1s_firmware_status
                name: Firmware
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: heading
            icon: ""
            heading: Lüfter
            heading_style: subtitle
          - type: entities
            entities:
              - entity: fan.bambulab_p1s_bauteillufter
              - entity: sensor.bambulab_p1s_bauteillufterdrehzahl
              - type: divider
              - entity: fan.bambulab_p1s_druckkopflufter
              - entity: sensor.bambulab_p1s_druckkopflufterdrehzahl
              - type: divider
              - entity: fan.bambulab_p1s_druckraumlufter
              - entity: sensor.bambulab_p1s_druckraumlufterdrehzahl
      - type: grid
        cards:
          - type: heading
            icon: mdi:fridge
            heading: Notizen
            heading_style: subtitle
          - type: markdown
            content: |-
              Wartung:

              - 18.11.2025 - 521h - Wartung durchgeführt
            grid_options:
              columns: full
              rows: auto
        column_span: 3
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
      - user: 0b44724681744be195da6c1d45a77bf6
    cards: []
    badges:
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: switch.3d_drucker
        icon: mdi:printer-3d
        state_content:
          - state
          - last_changed
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        color: ""
        entity: sensor.3d_drucker_power
        state_content:
          - name
          - state
        name: Leistung
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        color: ""
        entity: sensor.3d_drucker_energy
        name: Verbrauch
        state_content:
          - name
          - state
  - type: sections
    max_columns: 3
    title: Einstellungen
    path: einstellungen
    icon: mdi:cog-outline
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Automationen
            heading_style: title
          - type: heading
            icon: mdi:fridge
            heading: Küche
            heading_style: subtitle
          - type: entities
            entities:
              - entity: automation.kuchen_rolladen
          - type: heading
            icon: mdi:sofa-outline
            heading: Wohnzimmer & Terrasse
            heading_style: subtitle
          - type: entities
            entities:
              - entity: automation.markisen_zum_sonnenuntergang_offnen
              - entity: automation.wohnzimmer_rollladen_bei_sonnenaufgang_offnen
                name: "Morgens: Rollladen automatisch öffnen"
              - entity: automation.wohnzimmer_rolladen
                name: "Abends: Rollladen automatischen schließen "
              - type: divider
              - entity: automation.led_holzwand_bei_turoffnung_aktivieren_fur_1h
          - type: heading
            icon: mdi:bed-king-outline
            heading: Schlafzimmer
            heading_style: subtitle
          - type: entities
            entities:
              - entity: automation.schlafzimmer_sonnenschutz
                name: Sonnenschutz
                icon: mdi:shield-sun-outline
              - entity: automation.schlafzimmer_rolladen
                name: Rolladen 2h vor Sonnenaufgang schließen
                secondary_info: last-triggered
              - entity: >-
                  automation.schlafzimmer_rolladen_um_21_30_uhr_zu_100_schliessen
                name: Rolladen um 21:30 Uhr zu 100% schließen
                icon: mdi:window-shutter-auto
                secondary_info: last-triggered
          - type: heading
            icon: mdi:teddy-bear
            heading: Martha
            heading_style: subtitle
          - type: entities
            entities:
              - entity: automation.martha_sonnenschutz
                name: Sonnenschutz
                icon: mdi:shield-sun-outline
              - entity: automation.martha_10_min_abwesend_lampen_aus
                name: 10 Min. Abwesend = Lampen aus!
                secondary_info: last-triggered
          - type: heading
            icon: mdi:toy-brick
            heading: Karell
            heading_style: subtitle
          - type: entities
            entities:
              - entity: automation.karell_10_min_abwesend_lampen_aus
                name: 10 Min. Abwesend = Lampen aus!
                secondary_info: last-triggered
              - entity: automation.karell_10_min_licht_an_morgens_led_lampe_aus
                name: 10 Min. Licht an morgens = LED Lampe aus
                secondary_info: last-triggered
      - type: grid
        cards:
          - type: heading
            heading: Benachrichtigungen
            heading_style: title
            icon: mdi:message-alert-outline
          - type: heading
            icon: ""
            heading: Enrico
            heading_style: subtitle
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: entities
            entities:
              - entity: automation.benachrichtigung_shelly_blu_door_batterie_niedrig
                name: Shelly Blu Door Batterie niedrig
              - entity: automation.skoda_enyaq
              - entity: automation.benachrichtigung_enrico_fenster_oder_tur_offen
                name: Fenster oder Tür offen
              - entity: automation.benachrichtigung_enrico_geschirrspuler_fertig
                name: Geschirrspüler fertig!
              - entity: automation.benachrichtigung_enrico_waschmaschine_fertig
                name: Waschmaschine fertig!
              - entity: automation.benachrichtigung_enrico_trockner_fertig
                name: Trockner fertig!
              - entity: automation.benachrichtigung_enrico_3d_druck_fertig
                name: 3D Druck fertig!
              - entity: switch.eingangsbereich_push_benachrichtigungen
              - entity: switch.carport_push_benachrichtigungen
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: heading
            icon: ""
            heading: Jana
            heading_style: subtitle
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: entities
            entities:
              - entity: automation.benachrichtigung_jana_fenster_oder_tur_offen
                name: Fenster oder Tür offen
              - entity: automation.benachrichtigung_jana_waschmaschine_fertig
                name: Waschmaschine fertig!
              - entity: automation.benachrichtigung_jana_trockner_fertig
                name: Trockner fertig!
              - entity: automation.benachrichtigung_jana_3d_druck_fertig
                name: 3D Druck fertig!
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
                  - 0b44724681744be195da6c1d45a77bf6
      - type: grid
        cards:
          - type: heading
            heading: Schalter
            heading_style: title
          - type: entities
            entities:
              - entity: input_boolean.datenschutzmodus_eingangsbereich
                icon: mdi:video-off-outline
              - entity: input_boolean.datenschutzmodus_carport
                icon: mdi:video-off-outline
              - type: divider
              - entity: input_boolean.notify_carport_fahrzeug
              - entity: input_boolean.notify_carport_tier
              - type: divider
              - entity: input_boolean.notify_eingang_fahrzeug
              - entity: input_boolean.notify_eingang_tier
          - type: heading
            icon: mdi:database-cog
            heading: Adminfunktion
            heading_style: title
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
      - user: 0b44724681744be195da6c1d45a77bf6
    cards: []
    theme: Google Theme
title: ""

Technikdashboard

views:
  - type: sections
    max_columns: 3
    icon: mdi:heating-coil
    path: heizung
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Temperaturen
            heading_style: subtitle
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.wohnzimmer_wandthermostat_temperatur
                name: Wohnzimmer
              - entity: sensor.badezimmer_wandthermostat_temperatur
                name: Badezimmer
              - entity: sensor.karell_wandthermostat_temperatur
                name: Karell
              - entity: sensor.martha_wandthermostat_temperatur
                name: Martha
          - type: entities
            show_header_toggle: false
            state_color: true
            entities:
              - entity: sensor.heizung_vaillant_aurocompact_outsidetemp_temp
                name: Außentemperatur
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: >
                    FBH (VL {{
                    states('sensor.heizung_vaillant_aurocompact_hc_vorlauftemperatur')
                    }} > {{
                    states('sensor.heizung_vaillant_aurocompact_hc_vorlauftemperatur_soll')
                    }} {{
                    state_attr('sensor.heizung_vaillant_aurocompact_hc_vorlauftemperatur',
                    'unit_of_measurement') }} | RL {{
                    states('sensor.heizung_vaillant_aurocompact_hc_rucklauftemperatur')
                    }} {{
                    state_attr('sensor.heizung_vaillant_aurocompact_hc_rucklauftemperatur',
                    'unit_of_measurement') }})
                  icon: mdi:home-thermometer
                items:
                  - entity: sensor.heizung_vaillant_aurocompact_hc_vorlauftemperatur
                  - entity: >-
                      sensor.heizung_vaillant_aurocompact_hc_vorlauftemperatur_soll
                  - entity: sensor.heizung_vaillant_aurocompact_hc_rucklauftemperatur
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: >
                    Warmwasser ({{
                    states('sensor.heizung_vaillant_aurocompact_warmwasser_ist_temperatur')
                    }} {{
                    state_attr('sensor.heizung_vaillant_aurocompact_warmwasser_ist_temperatur',
                    'unit_of_measurement') }})
                  icon: mdi:water-boiler
                items:
                  - entity: >-
                      sensor.heizung_vaillant_aurocompact_warmwasser_ist_temperatur
                    name:
                      type: entity
                  - entity: >-
                      sensor.heizung_vaillant_aurocompact_ww_speicher_solltemperatur
                  - entity: >-
                      sensor.heizung_vaillant_aurocompact_warmwasser_ist_temperatur
                    name:
                      type: entity
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: >
                    Solarthermie ({{
                    states('sensor.heizung_vaillant_aurocompact_ww_speicher_unten')
                    }} {{
                    state_attr('sensor.heizung_vaillant_aurocompact_ww_speicher_unten',
                    'unit_of_measurement') }})
                  icon: mdi:sun-thermometer
                items:
                  - entity: sensor.heizung_vaillant_aurocompact_ww_speicher_unten
                  - entity: >-
                      sensor.heizung_vaillant_aurocompact_solarkollektor_temperatur
                  - entity: >-
                      sensor.heizung_vaillant_aurocompact_solar_rucklauf_temperatur
          - type: heading
            icon: ""
            heading: Verbräuche
            heading_style: subtitle
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.gas_smartmeterreader_gasverbrauch
                name: Gasverbrauch
                float_precision: 2
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
              - entity: sensor.gas_smartmeterreader_gasverbrauch
                name: Letzte Stunde
                float_precision: 2
                type: line
                statistics:
                  type: change
                  period: hour
                show:
                  in_chart: true
                  in_header: true
                  legend_value: true
              - entity: sensor.gas_smartmeterreader_gasverbrauch
                name: Heute Gesamt
                float_precision: 2
                type: line
                statistics:
                  type: change
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            graph_span: 6h
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.heizung_power
                name: Leistung (Aktuell)
                float_precision: 2
                show:
                  in_chart: true
                  in_header: true
                  legend_value: true
              - entity: sensor.heizung_power
                name: Min (Heute)
                float_precision: 2
                type: line
                statistics:
                  type: min
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
              - entity: sensor.heizung_power
                name: Max (Heute)
                float_precision: 2
                type: line
                statistics:
                  type: max
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
              - entity: sensor.heizung_energy
                name: Verbrauch (Heute)
                float_precision: 2
                type: line
                statistics:
                  type: change
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
        column_span: 1
      - type: grid
        cards:
          - type: heading
            heading_style: subtitle
            heading: Thermostate
          - type: horizontal-stack
            cards:
              - type: thermostat
                entity: climate.wohnzimmer_wandthermostat
                name:
                  type: area
                show_current_as_primary: true
                features:
                  - type: climate-hvac-modes
              - type: thermostat
                name:
                  type: area
                show_current_as_primary: true
                features:
                  - type: climate-hvac-modes
                entity: climate.badezimmer_wandthermostat
          - type: horizontal-stack
            cards:
              - type: thermostat
                name:
                  type: area
                show_current_as_primary: true
                features:
                  - type: climate-hvac-modes
                entity: climate.martha_wandthermostat
              - type: thermostat
                name:
                  type: area
                show_current_as_primary: true
                features:
                  - type: climate-hvac-modes
                entity: climate.karell_wandthermostat
          - type: heading
            icon: ""
            heading: Taupunkt Spreizung
            heading_style: subtitle
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.wohnzimmer_wandthermostat_taupunkt_spreizung
                name: Wohnzimmer
              - entity: sensor.badezimmer_wandthermostat_taupunkt_spreizung
                name: Badezimmer
              - entity: sensor.karell_wandthermostat_taupunkt_spreizung
                name: Karell
              - entity: sensor.martha_wandthermostat_taupunkt_spreizung
                name: Martha
        column_span: 1
      - type: grid
        cards:
          - type: heading
            heading: Steuerung
            heading_style: subtitle
          - type: entities
            show_header_toggle: false
            state_color: true
            entities:
              - entity: select.heizung_vaillant_aurocompact_hc_modus
                name: Heizmodus
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: >
                    HWC Ziel Temperatur ({{
                    states('sensor.heizung_vaillant_aurocompact_hwcactualtempdesired')
                    }} {{
                    state_attr('sensor.heizung_vaillant_aurocompact_hwcactualtempdesired',
                    'unit_of_measurement') }})
                  icon: mdi:thermometer
                items:
                  - entity: number.heizung_vaillant_aurocompact_hwc_ziel_temperatur
                    icon: mdi:thermometer-water
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: >
                    Solltemperatur (Tag {{
                    states('number.heizung_vaillant_aurocompact_hc_raumtemperatur_tag')
                    }} {{
                    state_attr('number.heizung_vaillant_aurocompact_hc_raumtemperatur_tag',
                    'unit_of_measurement') }} | Nacht {{
                    states('number.heizung_vaillant_aurocompact_hc_raumtemperatur_nacht')
                    }} {{
                    state_attr('number.heizung_vaillant_aurocompact_hc_raumtemperatur_nacht',
                    'unit_of_measurement') }})
                  icon: mdi:thermometer
                items:
                  - entity: number.heizung_vaillant_aurocompact_hc_raumtemperatur_tag
                    name: Tag-Solltemperatur
                  - entity: >-
                      number.heizung_vaillant_aurocompact_hc_raumtemperatur_nacht
                    name: Nacht-Solltemperatur
              - type: section
                label: Status
              - entity: select.heizung_vaillant_aurocompact_hc_modus
                name: Heizkreis 1 – Modus
              - entity: sensor.heizung_vaillant_aurocompact_hwcopmode
                name: Warmwasser – Modus
              - entity: sensor.heizung_vaillant_aurocompact_hc_heizkurve
                name: Heizkurve
                icon: ""
                secondary_info: last-changed
              - type: divider
              - entity: sensor.heizung_vaillant_aurocompact_statuscirpump
                name: Warmwasser Ladepumpe
                secondary_info: last-changed
              - entity: sensor.heizung_vaillant_aurocompact_status01_pumpstate
                name: Heizkreispumpe
                secondary_info: last-changed
              - type: divider
              - entity: input_boolean.geschirrspuler_warmwasser
                name: Geschirrspüler an Warmwasser
          - type: heading
            heading: Wartung
            heading_style: subtitle
          - type: entities
            show_header_toggle: false
            state_color: true
            entities:
              - entity: input_datetime.heizung_letzte_wartung
                name: Heizung – letzte Wartung
              - entity: input_datetime.solarthermie_letzte_wartung
                name: Solarthermie – letzte Wartung
              - entity: input_datetime.pufferspeicher_letzte_wartung
                name: Pufferspeicher – letzte Wartung
      - type: grid
        cards:
          - type: heading
            heading: Notizen
            heading_style: subtitle
          - type: markdown
            content: >
              <details>

              <summary><strong>🔥 Heizungsanlage</strong></summary>


              ### Heizgerät

              - **Modell:** Vaillant AuroCompact VSC S 196/3-5 200 R3  

              - **Heizkurve:** 0.60  

              - **Regelung:** Außentemperaturgeführt  

              - **Warmwasser:** 200 L + Solarthermie  

              - **Betriebsmodus:** Dauerbetrieb (kein Zeitprogramm)  

              - **Gasgerät:** modulierend  

              - **eBUS Integration:** ebusd + MQTT  

              - **Haus Baujahr:** 2013  


              </details>


              ---


              <details>

              <summary><strong>🌡️ Thermostate & Stellantriebe (alle
              Räume)</strong></summary>


              ## 🟩 Räume mit **HmIP-BWTH** (elektronische Wandthermostate +
              elektrische Stellantriebe)

              Diese 4 Räume sind **voll integriert** in OpenCCU:


              - **Wohnzimmer** – 3 Heizkreise  

              - **Badezimmer** – 1 Heizkreis  

              - **Kinderzimmer Karell** – 2 Heizkreise  

              - **Kinderzimmer Martha** – 2 Heizkreise  


              ### Einstellungen (einheitlich gesetzt)

              - **Thermostat:** Homematic IP – HmIP-BWTH  

              - **Regelung:** Zweipunkt  

              - **Profil:** Niedrigenergie-Fußbodenheizung  

              - **Hysterese:** 0.6 K  

              - **Offset:** 0.0 K  

              - **Antriebstyp:** NC  


              ---


              ## 🟨 Räume mit **mechanischen Danfoss-Bimetall-Reglern**

              Diese Räume haben **keine digitalen Thermostate**,  

              aber die **Stellantriebe sind trotzdem elektrisch (NC)** und
              werden  

              durch **Danfoss-Raumregler** (Bimetall-Schaltkontakt) geschaltet:


              - **Küche** – 2 Kreise  

              - **Diele** – 1 Kreis  

              - **Gäste-WC** – 1 Kreis  

              - **Schlafzimmer** – 2 Kreise  


              ### Eigenschaften:

              - Elektrischer Antrieb: ja  

              - Thermostat: mechanisch (Bimetall)  

              - Keine Integration in Home Assistant


              ---


              ## 🟦 Ankleide / Gästezimmer (Sonderfall)

              - **Thermostat:** Einfaches No-Name Digitalthermostat  

              - **Sollwert:** fix 18°C  

              - **Heizkreise:** 1  

              - **Elektrischer Antrieb:** Danfoss TWA-K NC  

              - **Keine HA/OpenCCU Integration**


              ---


              ## 🔧 Stellantriebe (alle FBH-Kreise)

              - **Modell:** Danfoss TWA-K NC (088H3142)  

              - **Typ:** Elektrothermisch, 230V, NC  

              - **Montage:** Heizkreisverteiler EG & OG  

              - **Öffnen bei Spannung, Schließen stromlos**


              </details>


              ---


              <details>

              <summary><strong>🧰 Reparaturen & Wartung (mit
              Preisen)</strong></summary>


              - **04/2020:** Austausch Ausgleichsbehälter Solarthermie – **150
              €**  

              - **07/2025:** Austausch Solarthermie-Pumpe – **400 €**  

              - **11/2025:** AuroCompact Steuerplatine – Elkos erneuert – **20 €
              Material**  

              - **11/2025:** Badezimmer – Stellantrieb defekt – **35 €**  

              - *(Weitere Einträge hier ergänzen…)*


              </details>


              ---


              <details>

              <summary><strong>📌 Hinweise / Systemlogik</strong></summary>


              - Heizkreis läuft dauerhaft (FBH → träge, kein Zeitprogramm).  

              - Temperaturführung erfolgt über Raumthermostate.  

              - Keine Nachtabsenkung an der Heizung.  

              - Nachtabsenkung über Thermostate: **max. 0.3–0.5°C**.  

              - FBH reagiert langsam → stabile Sollwerte wichtig.  

              - Elektrische Stellantriebe einsetzen, alle funktionstüchtig
              halten.  

              - Wohnzimmer mit 3 Kreisen hat größten Einfluss auf Gesamtwärme.  

              - Ankleide bleibt bewusst auf 18°C (Energiemanagement).  

              - Vaillant: keine direkte Raumtemperaturaufschaltung.  

              - AuroCompact regelt rein nach Außentemperatur + Heizkurve.  


              </details>
            grid_options:
              columns: full
        column_span: 3
        visibility:
          - condition: screen
            media_query: "(min-width: 768px)"
    header:
      layout: center
      badges_position: top
      badges_wrap: scroll
    dense_section_placement: true
    cards: []
    title: Heizung
    badges: []
  - title: Solar
    path: solar
    icon: mdi:solar-power-variant
    type: sections
    max_columns: 4
    sections:
      - type: grid
        cards:
          - type: custom:sun-position-card
            entity: sun.sun
            animate_images: true
            show_image: true
            state_position: in_list
            show_dividers: true
            show_degrees: true
            show_degrees_in_list: true
            times_to_show:
              - next_rising
              - next_setting
            time_position: right
            time_list_format: block
            morning_azimuth: 155
            dusk_elevation: 5
            noon_azimuth: 200
            afternoon_azimuth: 255
            sun_size: 50
            hide_moon_phase_on_day: false
            show_moon_icon_in_text: false
            show_night_arc: false
            use_12h_format: false
            weather_entity: weather.forecast_home
            temp_entity: sensor.ebusd_lueftung_wtw04_tempinletair_sai
            solar_entity: sensor.solarbank_3_e2700_pro_solarleistung
            view_mode: arc
            show_weather_badge: true
            show_solar_badge: true
            language: de
          - type: heading
            heading: Statistiken
            heading_style: subtitle
            icon: mdi:chart-bell-curve
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            graph_span: 3h
            apex_config:
              legend:
                show: false
              chart:
                type: bar
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.system_home_hausbedarf
                name: Hausbedarf
                type: area
                opacity: 0.1
                color: "#42a5f5"
              - entity: sensor.solarbank_3_e2700_pro_solarleistung
                name: PV Leistung
                color: "#ffb300"
              - entity: sensor.system_home_sb_akkuleistung
                name: Akkuleistung
                type: area
                opacity: 0.1
                color: "#66bb6a"
              - entity: sensor.system_home_sb_einspeiseleistung
                name: Einspeisung
                type: area
                opacity: 0.1
                color: "#ab47bc"
              - entity: sensor.system_home_sb_ladestand
                name: Ladestand
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            graph_span: 14d
            span:
              end: day
              offset: "-1d"
            all_series_config:
              type: column
              stroke_width: 1.5
              group_by:
                duration: 1d
                func: max
            apex_config:
              legend:
                show: false
              chart:
                height: 160
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            series:
              - entity: sensor.system_home_taglicher_solarertrag
                name: Täglicher Solarertrag
                statistics:
                  type: change
                  period: day
                show:
                  in_chart: true
                  in_header: false
              - entity: sensor.system_home_taglicher_solarertrag
                name: Ø Solarertrag (14 Tage)
                statistics:
                  type: change
                  period: day
                group_by:
                  duration: 14d
                  func: avg
                float_precision: 1
                show:
                  in_chart: false
                  in_header: true
          - type: entities
            entities:
              - entity: sensor.strom_smr_e_in
                secondary_info: last-changed
              - entity: sensor.strom_smr_e_out
              - entity: sensor.strom_smr_p_in
                secondary_info: last-changed
            title: Stromzähler
      - type: grid
        cards:
          - type: heading
            heading: Batterie
            heading_style: subtitle
            icon: mdi:battery
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.solarbank_3_e2700_pro_ladestand
                name: Ladestand (letzte 24h)
                curve: smooth
              - entity: sensor.solarbank_3_e2700_pro_ladestand
                name: Max (Heute)
                float_precision: 2
                type: line
                statistics:
                  type: max
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.solarbank_3_e2700_pro_temperatur
                name: Solarbank 3
                curve: smooth
              - entity: sensor.solarbank_3_e2700_pro_erw_1_temperatur
                name: Zusatz Akku 1
                curve: smooth
          - type: entities
            entities:
              - entity: sensor.system_home_sb_akkuleistung
                name: Akkuleistung
              - entity: sensor.system_home_sb_ladestand
                name: Ladestand
              - entity: sensor.solarbank_3_e2700_pro_akkuenergie
                name: Akkuenergie
              - type: divider
              - entity: binary_sensor.system_home_akkuheizung
              - entity: sensor.solarbank_3_e2700_pro_heizleistung
                name: Heizleistung
          - type: gauge
            entity: sensor.solarbank_3_e2700_pro_ladestand
            min: 0
            needle: true
            severity:
              green: 65
              yellow: 10
              red: 0
      - type: grid
        cards:
          - type: heading
            heading: Solaranlage
            heading_style: subtitle
            icon: mdi:solar-power-variant
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.solarbank_3_e2700_pro_solarleistung
                name: Gesamtleistung (24h)
                curve: smooth
              - entity: sensor.system_home_taglicher_solarertrag
                name: Heute
                float_precision: 2
                type: line
                statistics:
                  type: change
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
          - type: distribution
            entities:
              - entity: sensor.solarbank_3_e2700_pro_solar_pv1
                name: PV1
              - entity: sensor.solarbank_3_e2700_pro_solar_pv2
                name: PV2
              - entity: sensor.solarbank_3_e2700_pro_solar_pv3
                name: PV3
              - entity: sensor.solarbank_3_e2700_pro_solar_pv4
                name: PV4
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            graph_span: 1h
            apex_config:
              legend:
                show: false
              chart:
                type: bar
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.solarbank_3_e2700_pro_solar_pv1
                name: PV1
                color: "#ffb300"
                type: column
              - entity: sensor.solarbank_3_e2700_pro_solar_pv2
                name: PV2
                color: "#ffa726"
                type: column
              - entity: sensor.solarbank_3_e2700_pro_solar_pv3
                name: PV3
                color: "#fb8c00"
                type: column
              - entity: sensor.solarbank_3_e2700_pro_solar_pv4
                name: PV4
                color: "#f57c00"
                type: column
          - type: heading
            heading: Ertrag je Modul (heute)
            heading_style: subtitle
            icon: mdi:solar-panel
          - type: entities
            entities:
              - entity: sensor.system_home_tagliche_pv_1
                name: PV1 (Ost)
              - entity: sensor.system_home_tagliche_pv_2
                name: PV2 (Ost)
              - entity: sensor.system_home_tagliche_pv_3
                name: PV3 (West)
              - entity: sensor.system_home_tagliche_pv_4
                name: PV4 (West)
              - type: custom:template-entity-row
                name: Summe Ost (PV1+PV2)
                entity: sensor.system_home_tagliche_pv_1
                state: >
                  {% set pv1 =
                  states('sensor.system_home_tagliche_pv_1')|float(0) %} {% set
                  pv2 = states('sensor.system_home_tagliche_pv_2')|float(0) %}
                  {{ (pv1 + pv2) | round(2) }} kWh
              - type: custom:template-entity-row
                name: Summe West (PV3+PV4)
                entity: sensor.system_home_tagliche_pv_3
                state: >
                  {% set pv3 =
                  states('sensor.system_home_tagliche_pv_3')|float(0) %} {% set
                  pv4 = states('sensor.system_home_tagliche_pv_4')|float(0) %}
                  {{ (pv3 + pv4) | round(2) }} kWh
      - type: grid
        cards:
          - type: heading
            heading: Betriebszustand
            heading_style: subtitle
            icon: mdi:cog-outline
          - type: entities
            entities:
              - entity: sensor.system_home_aktiver_benutzermodus
                name: Aktiver Modus
              - entity: sensor.solarbank_3_e2700_pro_betriebszustand
                name: Betriebszustand
                secondary_info: last-changed
              - entity: sensor.solarbank_3_e2700_pro_cloud_zustand
                name: Cloud Zustand
                secondary_info: last-changed
              - entity: button.solarbank_3_e2700_pro_mqtt_echtzeitdaten
                name:
                  type: entity
              - type: divider
              - entity: input_boolean.solix_akkureserve_individuell
              - entity: input_number.solix_akkureserve_soc_min
          - type: heading
            heading: Wirtschaft & CO₂
            heading_style: subtitle
            icon: mdi:currency-eur
          - type: entities
            entities:
              - entity: sensor.system_home_ertrag_gesamt
                name: Ertrag gesamt
              - entity: sensor.system_home_kostenersparnis
                name: Kostenersparnis
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: >
                    Armortisation ({% set anschaffung = 1600 %} {% set ersparnis
                    = states('sensor.system_home_kostenersparnis')|float(0) %}
                    {% set rest = (anschaffung - ersparnis) | round(2) %} {% set
                    prozent = ((ersparnis/anschaffung)*100) | round(1) %} {{
                    prozent }} % )
                  icon: mdi:hand-coin
                items:
                  - type: custom:template-entity-row
                    entity: sensor.system_home_kostenersparnis
                    name: Anschaffung - Förderung
                    state: 2300 € - 700 €
                  - type: custom:template-entity-row
                    entity: sensor.system_home_kostenersparnis
                    name: Amortisation m. Förderung
                    state: >
                      {% set anschaffung = 2300 %} {% set foerderung = 700 %} {%
                      set ersparnis =
                      states('sensor.system_home_kostenersparnis')|float(0) %}
                      {% set rest = (anschaffung - (ersparnis + foerderung)) |
                      round(2) %} {% set prozent = (((foerderung +
                      ersparnis)/anschaffung)*100) | round(1) %} {{ rest }} € /
                      {{ prozent }} %
                  - type: custom:template-entity-row
                    entity: sensor.system_home_kostenersparnis
                    name: Amortisation o. Förderung
                    state: >
                      {% set anschaffung = 1600 %} {% set ersparnis =
                      states('sensor.system_home_kostenersparnis')|float(0) %}
                      {% set rest = (anschaffung - ersparnis) | round(2) %} {%
                      set prozent = ((ersparnis/anschaffung)*100) | round(1) %}
                      {{ rest }} € / {{ prozent }} %
              - entity: sensor.system_home_co2_einsparung
                name: CO₂-Einsparung
          - type: heading
            icon: mdi:wrench-clock
            heading: Wartung
            heading_style: subtitle
          - type: entities
            entities:
              - entity: input_datetime.solaranlage_letzte_reinigung
                name: Letzte Reinigung
                secondary_info: none
              - entity: input_datetime.solaranlage_letzte_kontrolle
                name: Letzte Kontrolle
                secondary_info: none
    cards: []
    dense_section_placement: true
    badges:
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: sensor.solarbank_3_e2700_pro_ladestand
        show_entity_picture: false
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: sensor.system_home_taglicher_solarertrag
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: sensor.system_home_hausbedarf
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: sensor.solarbank_3_e2700_pro_solarleistung
      - type: entity
        entity: sensor.solarbank_3_e2700_pro_akkuleistung
        view_layout:
          grid-area: header
        card_mod:
          style: |
            :host {
              --card-mod-icon-color:
                {% set val = states(config.entity) | float(0) %}
                {% if val > 0 %}
                  green
                {% elif val < 0 %}
                  red
                {% else %}
                  grey
                {% endif %};
            }
  - type: sections
    max_columns: 3
    icon: mdi:fan
    path: luftung
    title: Lüftung
    sections:
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading: Temperaturen
            heading_style: subtitle
          - type: entities
            entities:
              - type: conditional
                conditions:
                  - condition: screen
                    media_query: "(min-width: 768px)"
                row:
                  type: custom:hui-element
                  card_type: picture-elements
                  card_mod:
                    style: |
                      ha-card img {
                        width: 75% !important;
                        margin: 0 auto !important;
                        display: block !important;
                      }
                  elements:
                    - type: state-label
                      entity: sensor.ebusd_lueftung_wtw04_airinlettemp
                      style:
                        left: 13%
                        top: 50%
                        font-weight: bold
                        font-size: 110%
                    - type: state-label
                      entity: sensor.ebusd_lueftung_wtw04_airoutgoingtemp
                      style:
                        left: 65%
                        top: 19%
                        font-weight: bold
                        font-size: 110%
                    - type: state-label
                      entity: sensor.ebusd_lueftung_wtw04_airexhausttemp
                      style:
                        left: 18%
                        top: 85%
                        font-weight: bold
                        font-size: 110%
                    - type: state-label
                      entity: sensor.ebusd_lueftung_wtw04_airoutlettemp
                      style:
                        left: 82%
                        top: 85%
                        font-weight: bold
                        font-size: 110%
                  image:
                    media_content_id: >-
                      media-source://image_upload/553e50103c2073295e51c1047fb5d94d
                    media_content_type: image/png
              - entity: sensor.ebusd_lueftung_wtw04_airinlettemp
                secondary_info: last-updated
              - entity: sensor.ebusd_lueftung_wtw04_airoutlettemp
                secondary_info: last-updated
              - entity: sensor.ebusd_lueftung_wtw04_airexhausttemp
                secondary_info: last-updated
              - entity: sensor.ebusd_lueftung_wtw04_airoutgoingtemp
                secondary_info: last-updated
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.ebusd_lueftung_wtw04_airinlettemp
              - entity: sensor.ebusd_lueftung_wtw04_airoutlettemp
              - entity: sensor.ebusd_lueftung_wtw04_airexhausttemp
              - entity: sensor.ebusd_lueftung_wtw04_airoutgoingtemp
      - type: grid
        cards:
          - type: heading
            heading_style: subtitle
            heading: Status
          - type: entities
            entities:
              - entity: sensor.intensivmodus_countdown
                name: Intensivmodus
              - entity: sensor.luftungsmodus_anzeige
                name: Lüftungsmodus
              - entity: sensor.ebusd_lueftung_vai00_bypass_status
              - entity: sensor.ebusd_lueftung_wtw04_bypassstellung_status
              - entity: sensor.ebusd_lueftung_wtw04_unterdruckschutz_mode
              - entity: sensor.luftung_volumenstrom_m3_h
                name: Volumenstrom aktuell
          - type: heading
            heading: Steuerung
            heading_style: subtitle
          - type: entities
            entities:
              - entity: switch.luftung
              - entity: sensor.luftung_switch_0_power
              - entity: automation.luftung_frostschutz_abschaltung_package
                name: Lüftung abtauen
                icon: mdi:snowflake-melt
              - type: divider
              - entity: select.ebusd_lueftung_vai00_lueftungsstufe_status
                name: Lüftungsmodus
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Bypass
                  icon: mdi:valve
                  state: >-
                    {{ 'Aktiv' if is_state('input_boolean.bypass_aktiv', 'on')
                    else 'Inaktiv' }}
                entities:
                  - entity: input_boolean.bypass_aktiv
                    name: Sommerkühlung
                  - entity: input_boolean.bypass_force
                    name: Force
                  - type: divider
                  - entity: input_number.luftung_bypass_min_innentemperatur
                    name: Ab Innentemp
                  - entity: input_number.luftung_bypass_min_aussentemperatur
                    name: Ab Außentemp (Min)
                    icon: mdi:thermometer-low
                  - entity: input_number.luftung_bypass_max_aussentemperatur
                    name: Bis Außentemp (Max)
                    icon: mdi:thermometer-high
              - entity: select.ebusd_lueftung_vai00_lueftung_hi_status
              - type: divider
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Luftgeschwindigkeiten
                  icon: mdi:air-filter
                  state: >-
                    ☀️{{ states('number.ebusd_lueftung_vai00_normalflow') | int
                    }} 🌙{{ states('number.ebusd_lueftung_vai00_reducedflow') |
                    int }} 🔀{{ states('number.ebusd_lueftung_vai00_bypassflow')
                    | int }} m³/h
                entities:
                  - entity: number.ebusd_lueftung_vai00_normalflow
                    name: Volumenstrom Tag
                    icon: mdi:weather-sunny
                  - entity: number.ebusd_lueftung_vai00_reducedflow
                    name: Volumenstrom Nacht
                    icon: mdi:weather-night
                  - entity: number.ebusd_lueftung_vai00_intenseflow
                    name: Volumenstrom Intensiv
                    icon: mdi:fan-speed-3
                  - entity: number.ebusd_lueftung_vai00_bypassflow
                    name: Volumenstrom Bypass
                    icon: mdi:valve-open
              - type: divider
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Lüftung Automatik
                  icon: mdi:fan-auto
                  state: >-
                    {{ 'Aktiv' if
                    is_state('input_boolean.luftung_automatik_aktiv', 'on') else
                    'Inaktiv' }}
                entities:
                  - entity: input_boolean.luftung_automatik_aktiv
                    name: Automatik aktiv
                  - type: divider
                  - entity: input_datetime.luftung_start_wochentag
                    name: Start Wochentag
                    icon: mdi:clock-start
                  - entity: input_datetime.luftung_start_wochenende
                    name: Start Wochenende
                    icon: mdi:clock-start
                  - entity: input_datetime.luftung_ende
                    name: Ende
                    icon: mdi:clock-end
                  - type: divider
                  - entity: input_number.luftung_bad_feuchte_schwelle
                    name: Bad Feuchte Schwelle
                    icon: mdi:water-percent
                  - entity: input_number.luftung_bad_luftungsdauer
                    name: Bad Lüftungsdauer
                    icon: mdi:timer-outline
                  - entity: timer.luftung_bad_timer
                    name: Bad Timer
                    icon: mdi:shower
      - type: grid
        cards:
          - type: heading
            heading: Statistik
            heading_style: subtitle
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            apex_config:
              legend:
                show: false
              chart:
                height: 120
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            all_series_config:
              stroke_width: 1.5
            series:
              - entity: sensor.luftung_switch_0_power
              - entity: sensor.luftung_switch_0_power
                name: Min (Heute)
                float_precision: 2
                type: line
                statistics:
                  type: min
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
              - entity: sensor.luftung_switch_0_power
                name: Max (Heute)
                float_precision: 2
                type: line
                statistics:
                  type: max
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
              - entity: sensor.luftung_switch_0_energy
                name: Verbrauch (Heute)
                float_precision: 2
                type: line
                statistics:
                  type: change
                  period: day
                show:
                  in_chart: false
                  in_header: true
                  legend_value: true
          - type: custom:apexcharts-card
            header:
              show: true
              show_states: true
              colorize_states: true
            graph_span: 14d
            span:
              end: day
              offset: "-1d"
            all_series_config:
              type: column
              stroke_width: 1.5
              group_by:
                duration: 1d
                func: max
            apex_config:
              legend:
                show: false
              chart:
                height: 160
              grid:
                padding:
                  top: 0
                  right: 8
                  left: 8
                  bottom: 0
            series:
              - entity: sensor.luftung_switch_0_energy
                name: Täglicher Solarertrag
                statistics:
                  type: change
                  period: day
                show:
                  in_chart: true
                  in_header: false
              - entity: sensor.luftung_switch_0_energy
                name: Ø Verbrauch kWh (14 Tage)
                statistics:
                  type: change
                  period: day
                group_by:
                  duration: 14d
                  func: avg
                float_precision: 1
                show:
                  in_chart: false
                  in_header: true
          - type: heading
            icon: ""
            heading: Wartung
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.luftung_filterstatus
                name: Filterstatus
                icon: mdi:air-filter
              - type: divider
              - entity: input_datetime.luftung_letzte_reinigung
                name: Gerätereinigung
              - entity: input_datetime.luftung_letzter_filtertausch
                name: Filtertausch - Raum
              - entity: input_datetime.luftung_letzter_filtertausch_gerat
                name: Filtertausch - Gerät
              - entity: input_select.luftung_filtertyp
                name: Installierter Filter
              - type: divider
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Schwellwerte
                  icon: mdi:tune
                  state: >-
                    Tag: {{ states('input_number.luftung_schwelle_warnung_tag')
                    | int }}/{{
                    states('input_number.luftung_schwelle_kritisch_tag') | int
                    }} W
                entities:
                  - entity: input_number.luftung_schwelle_warnung_tag
                    name: Tag – Prüfen ab
                    icon: mdi:weather-sunny
                  - entity: input_number.luftung_schwelle_kritisch_tag
                    name: Tag – Reinigen ab
                    icon: mdi:weather-sunny
                  - entity: input_number.luftung_schwelle_warnung_nacht
                    name: Nacht – Prüfen ab
                    icon: mdi:weather-night
                  - entity: input_number.luftung_schwelle_kritisch_nacht
                    name: Nacht – Reinigen ab
                    icon: mdi:weather-night
      - type: grid
        cards:
          - type: heading
            heading: Notizen
            heading_style: subtitle
          - type: markdown
            content: >-
              01.03.2026 - Anlage zerlegt. Wärmetauscher und Lüfter gereinigt.

              08.03.2026 - Kugellager in beiden Lüftern getauscht - 4x SKF
              626-2RSH
            grid_options:
              columns: full
          - type: logbook
            target:
              entity_id: []
              area_id: luftung
        column_span: 3
    cards: []
  - type: sections
    title: Beschattung
    path: beschattung
    icon: mdi:sun-thermometer
    max_columns: 3
    dense_section_placement: true
    cards: []
    badges:
      - type: entity
        entity: input_select.beschattung_betriebsmodus
        icon: mdi:sun-thermometer
        show_name: false
        show_state: true
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: sensor.beschattung_aussentemperatur
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: input_number.beschattung_forecast_maxtemp_heute
        color: orange
        icon: mdi:sun-thermometer
      - type: entity
        entity: binary_sensor.beschattung_hitzeschutz_noetig
        icon: mdi:fire
        show_name: false
        show_state: false
        color: deep-orange
      - type: entity
        show_name: false
        show_state: false
        show_icon: true
        entity: binary_sensor.jemand_zuhause
        icon: mdi:account-group
      - type: entity
        show_name: true
        show_state: false
        show_icon: true
        entity: binary_sensor.sonne_auf_vorderseite
        icon: mdi:weather-sunny
        name: Vorne
      - type: entity
        show_name: true
        show_state: false
        show_icon: true
        entity: binary_sensor.sonne_auf_gartenseite
        icon: mdi:weather-sunny
        name: Garten
      - type: entity
        show_name: true
        show_state: false
        show_icon: true
        entity: binary_sensor.sonnenschutz_vorderseite_noetig
        icon: mdi:shield-sun
        name: Vorne
      - type: entity
        show_name: true
        show_state: false
        show_icon: true
        entity: binary_sensor.sonnenschutz_gartenseite_noetig
        icon: mdi:shield-sun
        name: Garten
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Räume
            heading_style: subtitle
          - type: vertical-stack
            cards:
              - type: heading
                heading: Terrasse
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_markise
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_markise
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
                  - type: entity
                    entity: binary_sensor.beschattung_markise_elevation_ok
                    icon: mdi:angle-acute
                    show_name: false
                    show_state: false
                    color: green
                grid_options:
                  columns: 24
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: cover.markise
                    icon: mdi:awning
                    name: >-
                      Markise {{
                      state_attr('cover.markise','current_position')|int }}%  · 
                      FM {{
                      state_attr('cover.markise_vorne','current_position')|int
                      }}%
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: cover.markise
                      name: Einstellungen
                      icon: mdi:tune
                      state: ""
                    items:
                      - entity: cover.markise
                        name: Markise
                      - entity: cover.markise_vorne
                        name: Frontmarkise
                      - entity: input_boolean.beschattung_sperre_markise
                        name: Sperre
                      - entity: sensor.markise_device_temperature
                        name: Geräte Temperatur
            grid_options:
              columns: 12
              rows: auto
          - type: vertical-stack
            cards:
              - type: heading
                heading: Wohnzimmer
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_wohnzimmer_links
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_wohnzimmer_links
                  - type: entity
                    entity: input_boolean.beschattung_sperre_wohnzimmer_rechts
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_wohnzimmer_rechts
                  - type: entity
                    entity: binary_sensor.terrassentur_links_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.terrassentur_rechts_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_wohnzimmer_aktiv
                    icon: mdi:sofa
                    toggle: true
                    name: >-
                      Links {{
                      state_attr('cover.terrassentur_links','current_position')|int
                      }}%  ·  Rechts {{
                      state_attr('cover.terrassentur_rechts','current_position')|int
                      }}%
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_wohnzimmer_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: >-
                        {{ states('input_select.beschattung_wohnzimmer_profil')
                        }}
                    items:
                      - entity: input_boolean.beschattung_party_modus_wohnzimmer
                        name: Party-Modus
                        icon: mdi:party-popper
                      - entity: input_datetime.beschattung_wohnzimmer_morgens_werktag
                        name: Morgens Werktag
                      - entity: >-
                          input_datetime.beschattung_wohnzimmer_morgens_wochenende
                        name: Morgens Wochenende/Feiertag
                      - entity: input_datetime.beschattung_wohnzimmer_abends_zeit
                        name: Abends (Fallback)
                      - entity: input_select.beschattung_wohnzimmer_profil
                        name: Profil
                      - type: custom:template-entity-row
                        entity: input_boolean.beschattung_sperre_wohnzimmer_links
                        name: Sperre Links
                        icon: mdi:hand-back-right
                        toggle: true
                        state_color: true
                        secondary: >-
                          {% if
                          is_state('timer.beschattung_sperre_wohnzimmer_links','active')
                          %}{{
                          state_attr('timer.beschattung_sperre_wohnzimmer_links','remaining')
                          }}{% else %}–{% endif %}
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_wohnzimmer_links
                            state: active
                        row:
                          entity: timer.beschattung_sperre_wohnzimmer_links
                          name: ""
                      - type: custom:template-entity-row
                        entity: input_boolean.beschattung_sperre_wohnzimmer_rechts
                        name: Sperre Rechts
                        icon: mdi:hand-back-right
                        toggle: true
                        state_color: true
                        secondary: >-
                          {% if
                          is_state('timer.beschattung_sperre_wohnzimmer_rechts','active')
                          %}{{
                          state_attr('timer.beschattung_sperre_wohnzimmer_rechts','remaining')
                          }}{% else %}–{% endif %}
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_wohnzimmer_rechts
                            state: active
                        row:
                          entity: timer.beschattung_sperre_wohnzimmer_rechts
                          name: ""
                      - entity: sensor.terrassentur_links
                        name: Tür Links
                      - entity: sensor.terrassentur_rechts
                        name: Tür Rechts
                      - entity: sensor.wohnzimmer_wandthermostat_temperatur
                        name: Temperatur
          - type: vertical-stack
            cards:
              - type: heading
                heading: Martha
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_martha
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_martha
                  - type: entity
                    entity: binary_sensor.martha_fenster_links_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.martha_fenster_rechts_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: person.martha
                    icon: mdi:human-child
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_martha_aktiv
                    icon: mdi:teddy-bear
                    toggle: true
                    name: "{{ state_attr('cover.martha','current_position')|int }}%"
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_martha_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: "{{ states('input_select.beschattung_martha_profil') }}"
                    items:
                      - entity: input_select.beschattung_martha_profil
                        name: Profil
                      - entity: input_number.martha_rollo_hitzeschutz_position
                        name: Position Komfort anwesend
                      - entity: input_boolean.martha_rollo_morgens_aktiv
                        name: Morgens aktiv
                      - entity: input_datetime.martha_rollo_morgens_zeit
                        name: Morgens Werktag
                      - entity: input_boolean.martha_rollo_wochenende_aktiv
                        name: Wochenende aktiv
                      - entity: input_datetime.martha_rollo_wochenende_zeit
                        name: Morgens WE/Feiertag
                      - entity: input_boolean.martha_rollo_abends_aktiv
                        name: Abends aktiv
                      - entity: input_datetime.martha_rollo_abends_zeit
                        name: Abends Uhrzeit
                      - entity: input_number.martha_rollo_morgens_position
                        name: Position morgens
                      - entity: input_number.martha_rollo_abends_position
                        name: Position abends
                      - type: custom:template-entity-row
                        entity: input_boolean.beschattung_sperre_martha
                        name: Komfortsperre
                        icon: mdi:hand-back-right
                        toggle: true
                        state_color: true
                        secondary: >-
                          {% if
                          is_state('timer.beschattung_sperre_martha','active')
                          %}{{
                          state_attr('timer.beschattung_sperre_martha','remaining')
                          }}{% else %}–{% endif %}
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_martha
                            state: active
                        row:
                          entity: timer.beschattung_sperre_martha
                          name: ""
                      - entity: sensor.martha_fenster_links
                        name: Fenster Links
                      - entity: sensor.martha_fenster_rechts
                        name: Fenster Rechts
                      - entity: sensor.martha_wandthermostat_temperatur
                        name: Temperatur
          - type: vertical-stack
            cards:
              - type: heading
                heading: Schlafzimmer
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_schlafzimmer
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_schlafzimmer
                  - type: entity
                    entity: binary_sensor.schlafzimmer_fenster_links_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.schlafzimmer_fenster_rechts_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_schlafzimmer_aktiv
                    icon: mdi:bed-king
                    toggle: true
                    name: >-
                      {{ state_attr('cover.schlafzimmer','current_position')|int
                      }}%{% if
                      is_state('input_boolean.beschattung_schlafzimmer_fenstersteuerung','on')
                      %}  🔄{% endif %}
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_schlafzimmer_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: >-
                        {{
                        states('input_select.beschattung_schlafzimmer_profil')
                        }}
                    items:
                      - entity: input_select.beschattung_schlafzimmer_profil
                        name: Profil
                      - entity: >-
                          input_boolean.beschattung_schlafzimmer_fenstersteuerung
                        name: Fenstersteuerung
                      - entity: input_number.beschattung_schlafzimmer_luftungsposition
                        name: Lüftungsposition
                      - entity: input_boolean.beschattung_sperre_schlafzimmer
                        name: Komfortsperre
                        icon: mdi:hand-back-right
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_schlafzimmer
                            state: active
                        row:
                          entity: timer.beschattung_sperre_schlafzimmer
                          name: ""
                      - entity: sensor.schlafzimmer_fenster_links
                        name: Fenster Links
                      - entity: sensor.schlafzimmer_fenster_rechts
                        name: Fenster Rechts
          - type: vertical-stack
            cards:
              - type: heading
                heading: Küche
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_kueche
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_kuche
                  - type: entity
                    entity: binary_sensor.kuchenfenster_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_vorderseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_kueche_aktiv
                    icon: mdi:fridge-outline
                    toggle: true
                    name: >-
                      {{ state_attr('cover.kueche','current_position')|int }}% 
                      ·  PV1 {{
                      states('sensor.solarbank_3_e2700_pro_solar_pv1')|int }}W
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_kueche_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: "{{ states('input_select.beschattung_kueche_profil') }}"
                    items:
                      - entity: input_select.beschattung_kueche_profil
                        name: Profil
                      - entity: input_boolean.beschattung_sperre_kueche
                        name: Komfortsperre
                        icon: mdi:hand-back-right
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_kuche
                            state: active
                        row:
                          entity: timer.beschattung_sperre_kuche
                          name: ""
                      - entity: sensor.kuchenfenster
                        name: Fenster
                      - entity: input_number.beschattung_pv1_schwelle_kuche
                        name: PV1 Schwelle
          - type: vertical-stack
            cards:
              - type: heading
                heading: Karell (geplant)
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: binary_sensor.karell_fenster
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: person.karell
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_karell_aktiv
                    icon: mdi:clock-outline
                    toggle: true
                    name: 
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_boolean.beschattung_karell_aktiv
                      name: Einstellungen
                      icon: mdi:tune
                      state: ""
                    items:
                      - entity: sensor.karell_fenster
                        name: Fenster
                      - entity: sensor.karell_wandthermostat_temperatur
                        name: Temperatur
        column_span: 2
      - type: grid
        cards:
          - type: custom:sun-position-card
            entity: sun.sun
            animate_images: true
            show_image: true
            state_position: in_list
            show_dividers: true
            show_degrees: true
            show_degrees_in_list: true
            times_to_show:
              - next_rising
              - next_setting
            time_position: right
            time_list_format: block
            morning_azimuth: 135
            noon_azimuth: 180
            afternoon_azimuth: 260
            sun_size: 50
            hide_moon_phase_on_day: false
            show_moon_icon_in_text: false
            show_night_arc: false
            use_12h_format: false
            weather_entity: weather.forecast_home
            temp_entity: sensor.ebusd_lueftung_wtw04_tempoutsideair_sao
            view_mode: arc
            show_weather_badge: true
            language: de
            solar_entity: sensor.solarbank_3_e2700_pro_solarleistung
            show_solar_badge: true
          - type: heading
            heading: Betrieb
            heading_style: subtitle
          - type: tile
            entity: script.beschattung_komfortsperren_loeschen
            name: Sperren löschen
            icon: mdi:lock-open-remove
          - type: heading
            heading: Feinjustierung
            heading_style: subtitle
          - type: entities
            show_header_toggle: false
            entities:
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Sonnenstand
                  icon: mdi:compass
                  entity: binary_sensor.sonne_auf_gartenseite
                  state: >-
                    V: {{
                    states('input_number.beschattung_vorderseite_azimut_min')|int
                    }}–{{
                    states('input_number.beschattung_vorderseite_azimut_max')|int
                    }}°  G: {{
                    states('input_number.beschattung_gartenseite_azimut_min')|int
                    }}–{{
                    states('input_number.beschattung_gartenseite_azimut_max')|int
                    }}°
                items:
                  - entity: input_number.beschattung_vorderseite_azimut_min
                    name: V Az. Min
                  - entity: input_number.beschattung_vorderseite_azimut_max
                    name: V Az. Max
                  - entity: input_number.beschattung_vorderseite_elevation_min
                    name: V El. Min
                  - entity: input_number.beschattung_gartenseite_azimut_min
                    name: G Az. Min
                  - entity: input_number.beschattung_gartenseite_azimut_max
                    name: G Az. Max
                  - entity: input_number.beschattung_gartenseite_elevation_min
                    name: G El. Min
                  - entity: input_number.beschattung_markise_elevation_max
                    name: Markise Grenzwert
          - type: entities
            show_header_toggle: false
            entities:
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Schwellen
                  icon: mdi:thermometer
                  entity: sensor.beschattung_aussentemperatur
                  state: >-
                    ☀️ {{
                    states('input_number.beschattung_schwelle_aussen_sonnenschutz')|int
                    }}°  🔥 {{
                    states('input_number.beschattung_schwelle_aussen_hitzeschutz')|int
                    }}°
                items:
                  - entity: input_number.beschattung_schwelle_aussen_sonnenschutz
                    name: Sonnenschutz ab
                  - entity: input_number.beschattung_schwelle_aussen_hitzeschutz
                    name: Hitzeschutz ab (Außen)
                  - entity: input_number.beschattung_forecast_maxtemp_heute
                    name: Prognose Max
                  - entity: input_number.beschattung_pv1_schwelle_kuche
                    name: PV1 Schwelle Küche
                  - entity: input_number.beschattung_garten_temperaturschwelle
                    name: Garten Temperaturschwelle
                  - entity: input_select.beschattung_garten_sonnensensor
                    name: Garten Sonnensensor
          - type: entities
            show_header_toggle: false
            entities:
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Positionen Komfort
                  icon: mdi:window-shutter
                  entity: input_number.beschattung_pos_komfort_hitzeschutz_anwesend
                  state: >-
                    Hitze: {{
                    states('input_number.beschattung_pos_komfort_hitzeschutz_anwesend')|int
                    }}% / {{
                    states('input_number.beschattung_pos_komfort_hitzeschutz_abwesend')|int
                    }}%
                items:
                  - entity: input_number.beschattung_pos_komfort_sonnenschutz_anwesend
                    name: Sonne Anwesend
                  - entity: input_number.beschattung_pos_komfort_hitzeschutz_anwesend
                    name: Hitze Anwesend
                  - entity: input_number.beschattung_pos_komfort_sonnenschutz_abwesend
                    name: Sonne Abwesend
                  - entity: input_number.beschattung_pos_komfort_hitzeschutz_abwesend
                    name: Hitze Abwesend
          - type: entities
            show_header_toggle: false
            entities:
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Positionen Hitzeschutz
                  icon: mdi:window-shutter-alert
                  entity: input_number.beschattung_pos_hitze_hitzeschutz_anwesend
                  state: >-
                    Hitze: {{
                    states('input_number.beschattung_pos_hitze_hitzeschutz_anwesend')|int
                    }}% / {{
                    states('input_number.beschattung_pos_hitze_hitzeschutz_abwesend')|int
                    }}%
                items:
                  - entity: input_number.beschattung_pos_hitze_sonnenschutz_anwesend
                    name: Sonne Anwesend
                  - entity: input_number.beschattung_pos_hitze_hitzeschutz_anwesend
                    name: Hitze Anwesend
                  - entity: input_number.beschattung_pos_hitze_sonnenschutz_abwesend
                    name: Sonne Abwesend
                  - entity: input_number.beschattung_pos_hitze_hitzeschutz_abwesend
                    name: Hitze Abwesend
          - type: entities
            show_header_toggle: false
            entities:
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Zeitparameter
                  icon: mdi:timer-outline
                  entity: input_number.beschattung_mindestabstand
                  state: >-
                    Rücknahme {{
                    states('input_number.beschattung_ruecknahme_verzoegerung')|int
                    }} min
                items:
                  - entity: input_number.beschattung_komfortsperre_dauer
                    name: Komfortsperre Dauer
                  - entity: input_number.beschattung_ruecknahme_verzoegerung
                    name: Rücknahme
                  - entity: input_number.beschattung_tuer_wartezeit
                    name: Tür-Wartezeit
                  - entity: input_number.beschattung_mindestabstand
                    name: Mindestabstand
                  - entity: input_number.beschattung_neustart_wartezeit
                    name: Neustart-Wartezeit
                  - entity: input_number.beschattung_abwesenheit_benachrichtigung_verz
                    name: Nachricht nach
                  - entity: input_number.beschattung_abwesenheit_antwort_timeout
                    name: Timeout
                  - entity: >-
                      input_number.beschattung_hitzeschutz_sonnenuntergang_puffer
                    name: Hitzeschutz endet vor Untergang
                  - entity: input_number.beschattung_schlafzimmer_luftungsposition
                    name: Schlafzimmer Lüftungsposition
        column_span: 1
    background:
      opacity: 10
      alignment: center
      size: cover
      repeat: repeat
      attachment: fixed
  - type: sections
    max_columns: 4
    title: SmartHome
    path: smarthome
    icon: mdi:home-assistant
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Router
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.router_power
              - entity: sensor.router_energy
              - type: divider
              - entity: sensor.fritz_box_6890_lte_download_durchsatz
              - entity: sensor.fritz_box_6890_lte_upload_durchsatz
              - entity: >-
                  sensor.fritz_box_6890_lte_maximaler_download_durchsatz_der_verbindung
              - entity: >-
                  sensor.fritz_box_6890_lte_maximaler_upload_durchsatz_der_verbindung
              - entity: sensor.fritz_box_6890_lte_link_download_durchsatz
              - entity: sensor.fritz_box_6890_lte_link_upload_durchsatz
              - entity: sensor.fritz_box_6890_lte_letzter_neustart
              - entity: binary_sensor.fritz_box_6890_lte_verbindung
          - type: custom:apexcharts-card
            header:
              show: true
              title: Fritz!Box – WAN-Durchsatz (6h)
              show_states: false
              colorize_states: true
            graph_span: 6h
            all_series_config:
              stroke_width: 2
            apex_config:
              legend:
                show: true
              yaxis:
                decimalsInFloat: 1
            series:
              - entity: sensor.fritz_box_6890_lte_download_durchsatz
                name: Download
                type: line
              - entity: sensor.fritz_box_6890_lte_upload_durchsatz
                name: Upload
                type: line
              - entity: sensor.fritz_box_6890_lte_link_download_durchsatz
                name: Link Download
                type: area
                opacity: 0.15
              - entity: sensor.fritz_box_6890_lte_link_upload_durchsatz
                name: Link Upload
                type: area
                opacity: 0.15
      - type: grid
        cards:
          - type: custom:apexcharts-card
            header:
              show: true
              title: Proxmox – Node pve Ressourcen (24h)
              show_states: true
              colorize_states: true
            graph_span: 24h
            span:
              start: day
            all_series_config:
              stroke_width: 2
            apex_config:
              legend:
                show: true
              yaxis:
                min: 0
                max: 100
            series:
              - entity: sensor.node_pve_cpu_auslastung
                name: CPU %
                type: line
              - entity: sensor.node_pve_prozentsatz_genutzter_arbeitsspeicher
                name: RAM genutzt %
                type: area
                opacity: 0.25
              - entity: sensor.node_pve_prozentsatz_belegter_speicherplatz
                name: Disk belegt %
                type: area
                opacity: 0.25
          - type: custom:apexcharts-card
            header:
              show: true
              title: Proxmox – CPU-Auslastung VMs & Container (6h)
              show_states: false
              colorize_states: true
            graph_span: 6h
            all_series_config:
              stroke_width: 2
            apex_config:
              legend:
                show: true
            series:
              - entity: sensor.qemu_homeassistant_101_cpu_auslastung
                name: HA VM (101)
                type: line
              - entity: sensor.qemu_openccu_103_cpu_auslastung
                name: OpenCCU (103)
                type: line
              - entity: sensor.lxc_cloudflared_102_cpu_auslastung
                name: cloudflared (102)
                type: line
              - entity: sensor.lxc_ebusd_lueftung_107_cpu_auslastung
                name: ebusd-lueftung (107)
                type: line
              - entity: sensor.lxc_influxdb_104_cpu_auslastung
                name: influxdb (104)
                type: line
          - type: custom:apexcharts-card
            header:
              show: true
              title: Proxmox – RAM-Auslastung VMs & Container (6h)
              show_states: false
              colorize_states: true
            graph_span: 6h
            all_series_config:
              stroke_width: 2
            apex_config:
              legend:
                show: true
              yaxis:
                min: 0
                max: 100
            series:
              - entity: >-
                  sensor.qemu_homeassistant_101_prozentsatz_genutzter_arbeitsspeicher
                name: HA VM (101)
                type: line
              - entity: sensor.qemu_openccu_103_prozentsatz_genutzter_arbeitsspeicher
                name: OpenCCU (103)
                type: line
              - entity: >-
                  sensor.lxc_cloudflared_102_prozentsatz_genutzter_arbeitsspeicher
                name: cloudflared (102)
                type: line
              - entity: >-
                  sensor.lxc_ebusd_lueftung_107_prozentsatz_genutzter_arbeitsspeicher
                name: ebusd-lueftung (107)
                type: line
              - entity: sensor.lxc_influxdb_104_prozentsatz_genutzter_arbeitsspeicher
                name: influxdb (104)
                type: line
          - type: entities
            title: Proxmox – Disk pve INTENSO SSD
            state_color: true
            entities:
              - entity: binary_sensor.disk_pve_intenso_ssd_gesundheit
                name: Gesundheit
              - entity: sensor.disk_pve_intenso_ssd_temperatur
                name: Temperatur
              - entity: sensor.disk_pve_intenso_ssd_verschleiss
                name: Verschleiß
              - type: divider
              - entity: sensor.disk_pve_intenso_ssd_betriebsstunden
                name: Betriebsstunden
              - entity: sensor.disk_pve_intenso_ssd_leistungszyklen
                name: Leistungszyklen
              - entity: sensor.disk_pve_intenso_ssd_grosse
                name: Größe
              - entity: sensor.disk_pve_intenso_ssd_knoten
                name: Knoten
          - type: entities
            title: Proxmox – Storage-Pools
            state_color: true
            entities:
              - type: custom:fold-entity-row
                head:
                  entity: sensor.storage_pve_local_prozentsatz_belegter_speicherplatz
                  name: Storage pve/local
                  secondary_info: last-changed
                items:
                  - entity: >-
                      sensor.storage_pve_local_prozentsatz_belegter_speicherplatz
                    name: Belegt %
                  - entity: sensor.storage_pve_local_knoten
                    name: Knoten
              - type: custom:fold-entity-row
                head:
                  entity: >-
                    sensor.storage_pve_local_backup_prozentsatz_belegter_speicherplatz
                  name: Storage pve/local-backup
                  secondary_info: last-changed
                items:
                  - entity: >-
                      sensor.storage_pve_local_backup_prozentsatz_belegter_speicherplatz
                    name: Belegt %
                  - entity: sensor.storage_pve_local_backup_knoten
                    name: Knoten
              - type: custom:fold-entity-row
                head:
                  entity: >-
                    sensor.storage_pve_local_lvm_prozentsatz_belegter_speicherplatz
                  name: Storage pve/local-lvm
                  secondary_info: last-changed
                items:
                  - entity: >-
                      sensor.storage_pve_local_lvm_prozentsatz_belegter_speicherplatz
                    name: Belegt %
                  - entity: sensor.storage_pve_local_lvm_knoten
                    name: Knoten
      - type: grid
        cards:
          - type: heading
            heading_style: subtitle
            heading: Energiemanagement
          - type: entities
            entities:
              - type: custom:fold-entity-row
                head:
                  type: custom:template-entity-row
                  name: Strom abschalten
                  icon: mdi:power
                items:
                  - type: custom:template-entity-row
                    entity: switch.router
                    icon: mdi:router-network-wireless
                    name: Router
                    toggle: false
                    secondary: |
                      Schaltet sich nach 10 Sekunden wieder an.
                  - type: custom:template-entity-row
                    entity: switch.proxmox_host
                    icon: mdi:server
                    name: ProxMox Host (mit HomeAssistant)
                    toggle: false
                    secondary: |
                      Schaltet sich nach 10 Sekunden wieder an.
                  - entity: switch.drucker
                    icon: mdi:printer
                  - entity: switch.steckdose_4
                    icon: mdi:power-plug
      - type: grid
        cards:
          - type: heading
            heading: ProxMox Host
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.proxmox_host_power
              - entity: sensor.proxmox_host_energy
          - type: heading
            icon: ""
            heading: ProxMox (VM & Container)
            heading_style: subtitle
          - type: entities
            state_color: true
            entities:
              - type: custom:fold-entity-row
                head:
                  entity: binary_sensor.qemu_homeassistant_101_status
                  name: QEMU homeassistant (101)
                  secondary_info: last-changed
                items:
                  - entity: binary_sensor.qemu_homeassistant_101_gesundheit
                    name: Gesundheit
                  - entity: sensor.qemu_homeassistant_101_cpu_auslastung
                    name: CPU-Auslastung
                  - entity: >-
                      sensor.qemu_homeassistant_101_prozentsatz_genutzter_arbeitsspeicher
                    name: RAM genutzt %
                  - entity: >-
                      sensor.qemu_homeassistant_101_prozentsatz_belegter_speicherplatz
                    name: Disk belegt %
                  - type: divider
                  - entity: sensor.qemu_homeassistant_101_genutzter_arbeitsspeicher
                    name: Genutzter Arbeitsspeicher
                  - entity: sensor.qemu_homeassistant_101_freier_arbeitsspeicher
                    name: Freier Arbeitsspeicher
                  - entity: sensor.qemu_homeassistant_101_knoten
                    name: Knoten
                  - entity: sensor.qemu_homeassistant_101_letzter_start
                    name: Letzter Start
                  - entity: sensor.qemu_homeassistant_101_status
                    name: Status (Text)
              - type: custom:fold-entity-row
                head:
                  entity: binary_sensor.qemu_openccu_103_status
                  name: QEMU OpenCCU (103)
                  secondary_info: last-changed
                items:
                  - entity: binary_sensor.qemu_openccu_103_gesundheit
                    name: Gesundheit
                  - entity: sensor.qemu_openccu_103_cpu_auslastung
                    name: CPU-Auslastung
                  - entity: >-
                      sensor.qemu_openccu_103_prozentsatz_genutzter_arbeitsspeicher
                    name: RAM genutzt %
                  - entity: sensor.qemu_openccu_103_prozentsatz_belegter_speicherplatz
                    name: Disk belegt %
                  - type: divider
                  - entity: sensor.qemu_openccu_103_genutzter_arbeitsspeicher
                    name: Genutzter Arbeitsspeicher
                  - entity: sensor.qemu_openccu_103_freier_arbeitsspeicher
                    name: Freier Arbeitsspeicher
                  - entity: sensor.qemu_openccu_103_knoten
                    name: Knoten
                  - entity: sensor.qemu_openccu_103_letzter_start
                    name: Letzter Start
                  - entity: sensor.qemu_openccu_103_status
                    name: Status (Text)
              - type: custom:fold-entity-row
                head:
                  entity: binary_sensor.lxc_cloudflared_102_status
                  name: LXC cloudflared (102)
                  secondary_info: last-changed
                items:
                  - entity: sensor.lxc_cloudflared_102_cpu_auslastung
                    name: CPU-Auslastung
                  - entity: >-
                      sensor.lxc_cloudflared_102_prozentsatz_genutzter_arbeitsspeicher
                    name: RAM genutzt %
                  - entity: >-
                      sensor.lxc_cloudflared_102_prozentsatz_belegter_speicherplatz
                    name: Disk belegt %
                  - type: divider
                  - entity: sensor.lxc_cloudflared_102_genutzter_arbeitsspeicher
                    name: Genutzter Arbeitsspeicher
                  - entity: sensor.lxc_cloudflared_102_freier_arbeitsspeicher
                    name: Freier Arbeitsspeicher
                  - entity: sensor.lxc_cloudflared_102_node
                    name: Node
                  - entity: sensor.lxc_cloudflared_102_letzter_start
                    name: Letzter Start
              - type: custom:fold-entity-row
                head:
                  entity: binary_sensor.lxc_ebusd_lueftung_107_status
                  name: LXC ebusd-lueftung (107)
                  secondary_info: last-changed
                items:
                  - entity: sensor.lxc_ebusd_lueftung_107_cpu_auslastung
                    name: CPU-Auslastung
                  - entity: >-
                      sensor.lxc_ebusd_lueftung_107_prozentsatz_genutzter_arbeitsspeicher
                    name: RAM genutzt %
                  - entity: >-
                      sensor.lxc_ebusd_lueftung_107_prozentsatz_belegter_speicherplatz
                    name: Disk belegt %
                  - type: divider
                  - entity: sensor.lxc_ebusd_lueftung_107_genutzter_arbeitsspeicher
                    name: Genutzter Arbeitsspeicher
                  - entity: sensor.lxc_ebusd_lueftung_107_freier_arbeitsspeicher
                    name: Freier Arbeitsspeicher
                  - entity: sensor.lxc_ebusd_lueftung_107_node
                    name: Node
                  - entity: sensor.lxc_ebusd_lueftung_107_letzter_start
                    name: Letzter Start
              - type: custom:fold-entity-row
                head:
                  entity: binary_sensor.lxc_influxdb_104_status
                  name: LXC influxdb (104)
                  secondary_info: last-changed
                items:
                  - entity: sensor.lxc_influxdb_104_cpu_auslastung
                    name: CPU-Auslastung
                  - entity: >-
                      sensor.lxc_influxdb_104_prozentsatz_genutzter_arbeitsspeicher
                    name: RAM genutzt %
                  - entity: sensor.lxc_influxdb_104_prozentsatz_belegter_speicherplatz
                    name: Disk belegt %
                  - type: divider
                  - entity: sensor.lxc_influxdb_104_genutzter_arbeitsspeicher
                    name: Genutzter Arbeitsspeicher
                  - entity: sensor.lxc_influxdb_104_freier_arbeitsspeicher
                    name: Freier Arbeitsspeicher
                  - entity: sensor.lxc_influxdb_104_node
                    name: Node
                  - entity: sensor.lxc_influxdb_104_letzter_start
                    name: Letzter Start
          - type: heading
            icon: ""
            heading: ProxMox - PVE
            heading_style: subtitle
          - type: entities
            state_color: true
            entities:
              - entity: binary_sensor.node_pve_status
                name: Node Status
              - entity: sensor.node_pve_cpu_auslastung
                name: CPU-Auslastung
              - entity: sensor.node_pve_prozentsatz_genutzter_arbeitsspeicher
                name: RAM genutzt %
              - entity: sensor.node_pve_prozentsatz_belegter_speicherplatz
                name: Disk belegt %
              - type: divider
              - entity: sensor.node_pve_virtual_machines_running
                name: Virtuelle Maschinen (running)
              - entity: sensor.node_pve_container_laufen
                name: Container laufen
              - type: divider
              - entity: sensor.node_pve_gesamte_updates
                name: Gesamte Updates
              - entity: binary_sensor.node_pve_pakete_aktualisieren
                name: Pakete aktualisieren nötig?
              - entity: sensor.node_pve_letzter_start
                name: Letzter Start
    badges:
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.router_power
        name:
          type: device
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.proxmox_host_power
        name:
          type: device
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.drucker_power
        name:
          type: device
    cards: []
  - type: sections
    max_columns: 4
    icon: mdi:counter
    path: ""
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Strom
            heading_style: subtitle
            badges: []
          - type: entities
            entities:
              - entity: sensor.zahlerstand
                secondary_info: last-changed
              - type: custom:template-entity-row
                icon: mdi:numeric
                name: Zählernummer
                state: 1ISK0196056989
              - entity: input_datetime.strom_letzter_zahlerwechsel
                name: Eingebaut am
            header:
              type: graph
              entity: sensor.zahlerstand
              detail: 2
              hours_to_show: 24
          - type: entities
            entities:
              - entity: sensor.strom_smr_e_out
                name: Strom Zählerstand (Einspeisung)
                secondary_info: last-changed
              - type: custom:template-entity-row
                icon: mdi:numeric
                name: Zählernummer
                state: 1ISK0196056989
              - entity: input_datetime.strom_letzter_zahlerwechsel
                name: Eingebaut am
            header:
              type: graph
              entity: sensor.strom_smr_e_out
              detail: 2
              hours_to_show: 24
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading: Gas
            heading_style: subtitle
            badges: []
          - type: entities
            entities:
              - entity: sensor.gas_smartmeterreader_gasverbrauch
                name: Zählerstand
                secondary_info: last-changed
              - type: custom:template-entity-row
                icon: mdi:numeric
                name: Zählernummer
                state: 7ELS2540913297
              - entity: input_datetime.gas_letzter_zahlerwechsel
                name: Eingebaut am
            state_color: false
            header:
              type: graph
              entity: sensor.gas_smartmeterreader_gasverbrauch
              detail: 2
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading: Wasser
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.wasser_zahlerstand
                name: Zählerstand
                secondary_info: last-changed
              - type: custom:template-entity-row
                icon: mdi:numeric
                name: Wasserzähler
                state: WZ 53672535
              - entity: input_datetime.wasser_letzter_zahlerwechsel
                name: Eingebaut am
            state_color: false
            header:
              type: graph
              entity: sensor.wasser_zahlerstand
              detail: 2
      - type: grid
        cards:
          - type: heading
            icon: ""
            heading: Wasser (Gartenzähler)
            heading_style: subtitle
          - type: entities
            entities:
              - entity: sensor.gartenwasser_zahlerstand
                name: Zählerstand
              - type: custom:template-entity-row
                icon: mdi:numeric
                name: Gartenwasser
                state: GZ 2000024537
              - entity: input_datetime.gartenwasser_letzter_zahlerwechsel
                name: Eingebaut am
            state_color: false
            header:
              type: graph
              entity: sensor.gartenwasser_zahlerstand
    dense_section_placement: true
    cards: []
    title: Zählerstände
  - type: sections
    max_columns: 4
    title: Fenster & Türen
    path: fenster-turen
    icon: mdi:window-open-variant
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Neuer Abschnitt
  - title: Home
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Haus Allgemein
            heading_style: title
            icon: mdi:home-outline
        column_span: 3
      - type: grid
        cards:
          - type: entities
            title: Waschmaschine
            show_header_toggle: false
            entities:
              - entity: sensor.waschmaschine_aktuelle_phase
                name: Aktuelle Phase
              - entity: sensor.waschmaschine_zustand
                name: Zustand
              - entity: binary_sensor.waschmaschine_lauft_2
                name: Läuft
              - entity: sensor.waschmaschine_fortschritt
                name: Fortschritt
              - entity: sensor.waschmaschine_verbleibende_zeit
                name: Verbleibende Zeit
              - type: custom:fold-entity-row
                head:
                  type: section
                  label: Weitere Details
                entities:
                  - entity: sensor.waschmaschine_aktuelle_leistung
                    name: Aktuelle Leistung
                  - entity: sensor.waschmaschine_programm
                    name: Programm
                  - entity: sensor.waschmaschine_gesamtdauer
                    name: Gesamtdauer
                  - entity: sensor.waschmaschine_verstrichene_zeit
                    name: Verstrichene Zeit
                  - entity: sensor.waschmaschine_zyklusanzahl
                    name: Zyklusanzahl
          - type: entities
            title: Geschirrspüler
            show_header_toggle: false
            entities:
              - entity: sensor.geschirrspuler_aktuelle_phase
                name: Aktuelle Phase
              - entity: sensor.geschirrspuler_zustand
                name: Zustand
              - entity: binary_sensor.geschirrspuler_lauft_2
                name: Läuft
              - entity: sensor.geschirrspuler_fortschritt
                name: Fortschritt
              - entity: sensor.geschirrspuler_verbleibende_zeit
                name: Verbleibende Zeit
              - type: custom:fold-entity-row
                head:
                  type: section
                  label: Weitere Details
                entities:
                  - entity: sensor.geschirrspuler_aktuelle_leistung
                    name: Aktuelle Leistung
                  - entity: sensor.geschirrspuler_programm
                    name: Programm
                  - entity: sensor.geschirrspuler_gesamtdauer
                    name: Gesamtdauer
                  - entity: sensor.geschirrspuler_verstrichene_zeit
                    name: Verstrichene Zeit
                  - entity: sensor.geschirrspuler_zyklusanzahl
                    name: Zyklusanzahl
          - type: heading
            heading: Lüftungsanlage
            heading_style: title
            icon: mdi:air-filter
      - type: grid
        cards:
          - type: heading
            heading: AVIA XPress Wolfsacker 4
          - type: tile
            entity: sensor.avia_xpress_wolfsacker_4_diesel
    type: sections
    max_columns: 3
    cards: []
    icon: mdi:home-modern
    badges:
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.zahlerstand
        name: Strom
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        name: Gas
        entity: sensor.gas_smartmeterreader_gasverbrauch
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.wasser_zahlerstand
        name: Wasser
  - icon: mdi:monitor-dashboard
    type: sections
    subview: false
    cards:
      - type: custom:auto-entities
        card:
          show_header_toggle: false
          type: entities
          state_color: true
        filter:
          include:
            - sort:
                method: name
              label: Fenster
              state: Offen
              options:
                secondary_info: last-changed
            - label: Fenster
              state: Gekippt
              options:
                secondary_info: last-changed
            - label: Fenster
              state: "on"
          exclude:
            - entity_id: binary_sensor.fenster_state
        sort:
          method: friendly_name
          reverse: false
          numeric: false
          ignore_case: false
          ip: false
        show_empty: false
        unique: true
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
    theme: Google Theme
    sections:
      - type: grid
        cards:
          - type: heading
            icon: mdi:monitor-dashboard
            heading: System Monitor
            heading_style: subtitle
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - chart_type: line
            period: 5minute
            type: statistics-graph
            entities:
              - sensor.home_assistant_core_cpu_percent
              - sensor.home_assistant_core_memory_percent
            stat_types:
              - max
              - mean
              - min
            days_to_show: 1
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: heading
            icon: mdi:cloud-outline
            heading: Internet
            heading_style: subtitle
          - type: tile
            features_position: bottom
            vertical: false
            entity: >-
              sensor.fritz_box_6890_lte_maximaler_download_durchsatz_der_verbindung
            name: Download
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: tile
            features_position: bottom
            vertical: false
            entity: >-
              sensor.fritz_box_6890_lte_maximaler_upload_durchsatz_der_verbindung
            name: Upload
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - chart_type: line
            period: 5minute
            type: statistics-graph
            entities:
              - sensor.fritz_box_6890_lte_download_durchsatz
              - sensor.fritz_box_6890_lte_upload_durchsatz
            stat_types:
              - max
            days_to_show: 1
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: tile
            features_position: bottom
            vertical: false
            name: Download
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
            entity: sensor.fritz_box_6890_lte_link_download_durchsatz
          - type: tile
            features_position: bottom
            vertical: false
            name: Upload
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
            entity: sensor.fritz_box_6890_lte_link_upload_durchsatz
          - type: tile
            features_position: bottom
            vertical: false
            name: Download
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
            entity: sensor.fritz_box_6890_lte_download_durchsatz
          - type: tile
            features_position: bottom
            vertical: false
            name: Upload
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
            entity: sensor.fritz_box_6890_lte_upload_durchsatz
      - type: grid
        cards:
          - type: heading
            heading: Fenster & Türen
            heading_style: subtitle
          - type: custom:auto-entities
            card:
              show_header_toggle: false
              type: entities
              state_color: true
            filter:
              include:
                - sort:
                    method: name
                  label: Fenster
                  state: Geschlossen
                  options:
                    secondary_info: last-changed
                - label: Fenster
                  state: "off"
                  options:
                    secondary_info: last-changed
              exclude:
                - entity_id: binary_sensor.fenster_state
            sort:
              method: friendly_name
              reverse: false
              numeric: false
              ignore_case: false
              ip: false
            show_empty: false
            unique: true
      - type: grid
        cards:
          - type: heading
            heading: Licht
            heading_style: subtitle
          - type: custom:auto-entities
            card:
              show_header_toggle: false
              type: entities
            filter:
              include:
                - domain: light
                  options:
                    secondary_info: last-changed
                  sort:
                    method: name
              exclude:
                - entity_id: light.licht_status
            sort:
              method: friendly_name
              reverse: false
              numeric: false
            show_empty: false
            unique: true
      - type: grid
        cards:
          - type: heading
            heading: Temperaturen
            heading_style: subtitle
            icon: mdi:temperature-celsius
          - type: entities
            entities:
              - entity: sensor.skoda_enyaq_aussentemperatur
              - entity: sensor.markise_vorne_device_temperature
              - entity: sensor.markise_device_temperature
          - type: heading
            icon: mdi:battery-alert
            heading: Batteriestände Tür- & Fensterkontakte
            heading_style: subtitle
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
          - type: custom:auto-entities
            filter:
              include:
                - entity_id: sensor.*battery
                  state: <=99
            sort:
              method: state
            card:
              type: custom:apexcharts-card
              update_interval: 5minute
              header:
                show: true
                title: Fensterkontakte unter 100%
                show_states: false
                colorize_states: true
                floating: false
              graph_span: 2day
              span:
                end: minute
              show:
                last_updated: false
              all_series_config:
                stroke_width: 2
              now:
                show: false
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
    max_columns: 4
  - type: sections
    max_columns: 4
    title: Batteriestände
    path: batteriestande
    icon: mdi:battery-30
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Shelly Blu Door - Fensterkontakte - CR3032
            heading_style: subtitle
          - type: custom:auto-entities
            card:
              type: entities
            filter:
              include:
                - entity_id: "*battery*"
                  device_model: BTHome sensor
                  options:
                    secondary_info: last-changed
              exclude: []
            sort:
              method: state
              numeric: true
            visibility:
              - condition: user
                users:
                  - c5f685dc82c147ae8ba800ce4b019fc0
  - type: sections
    max_columns: 3
    icon: mdi:video-wireless-outline
    path: ""
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Eingangsbereich
            heading_style: title
          - type: vertical-stack
            cards:
              - type: entities
                title: Kamera – Eingangsbereich
                show_header_toggle: false
                entities:
                  - type: section
                    label: Aufnahme & Status
                  - entity: switch.eingangsbereich_aufzeichnen
                    name: Aufzeichnen
                  - entity: switch.eingangsbereich_audio_aufnehmen
                    name: Audio aufnehmen
                  - entity: binary_sensor.eingangsbereich_bewegung
                    name: Bewegung erkannt
                  - entity: binary_sensor.eingangsbereich_person
                    name: Person erkannt
                  - entity: binary_sensor.eingangsbereich_fahrzeug
                    name: Fahrzeug erkannt
                  - entity: binary_sensor.eingangsbereich_tier
                    name: Tier erkannt
                  - type: section
                    label: Intelligenz & Empfindlichkeit
                  - entity: number.eingangsbereich_bewegungsempfindlichkeit
                    name: Bewegung – Empfindlichkeit
                  - entity: number.eingangsbereich_ki_personen_empfindlichkeit
                    name: KI – Personen
                  - entity: number.eingangsbereich_ki_fahrzeug_empfindlichkeit
                    name: KI – Fahrzeuge
                  - entity: number.eingangsbereich_ki_tier_empfindlichkeit
                    name: KI – Tiere
                  - type: section
                    label: Beleuchtung & IR
                  - entity: light.eingangsbereich_scheinwerfer
                    name: Scheinwerfer
                  - entity: select.eingangsbereich_scheinwerfermodus
                    name: Scheinwerfermodus
                  - entity: switch.eingangsbereich_infrarotlicht_im_nachtmodus
                    name: IR-Licht im Nachtmodus
                  - entity: light.eingangsbereich_status_led
                    name: Status-LED
                  - type: section
                    label: Audio
                  - entity: number.eingangsbereich_lautstarke
                    name: Lautstärke (Mic/Speaker)
                  - type: section
                    label: PTZ – Einstellungen & Presets
                  - entity: switch.eingangsbereich_autofokus
                    name: Autofokus
                  - entity: number.eingangsbereich_fokus
                    name: Fokus
                  - entity: number.eingangsbereich_zoom
                    name: Zoom
                  - entity: switch.eingangsbereich_automatisch_zur_startposition
                    name: Auto zurück zur Startposition
                  - entity: switch.eingangsbereich_automatisches_tracking
                    name: Automatisches Tracking
                  - entity: button.eingangsbereich_gehe_zu_startposition
                    name: Gehe zu Startposition
                  - entity: sensor.eingangsbereich_ptz_schwenkposition
                    name: PTZ – Schwenk (Pan)
                  - entity: sensor.eingangsbereich_ptz_neigeposition
                    name: PTZ – Neige (Tilt)
    title: Kameras
    cards: []
  - type: sections
    max_columns: 3
    icon: mdi:information-box-outline
    path: ""
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Informationen zu Geräten
            heading_style: title
          - type: markdown
            content: |-
              **Vaillant recoVair 275/3**

              Baujahr: 12/2013
              SN: 

              Gerätefilter: 
              G4 und F4

              Abluftfilter:
              Kegelfilter 100mm
          - type: markdown
            content: |-
              **Vaillant auroCompact VSC S 196/3-5 200 R3**
              mit Solarthermie

              Baujahr: 12/2013
              SN: 

              Reparaturen:
              - Ausgleichsbehälter (04/20) - 150€
              - Solarpumpe ersetzt (07/25) - 400€
              - Platine repariert (11/25) - 20€ (neue Elkos)
          - type: markdown
            content: |-
              **Anker Solix Solarbank 3 E2700 Pro**

              Baujahr: 05/2025

              Leistung: 2000Wp
              Speicher: 5,38kWh
              Module: 4x 500W (bifazial 550W)

              Rahmenmaße:
              Höhe 30mm
              Breite: 9,5mm
              Tiefe (Rahmen bis Glas): 3,6mm
          - type: markdown
            content: |-
              **Daten zum Haus**

              Dacheindeckung: Harzer Pfanne Big (7) in granit
              Mauerwerk: Wienerberger
              Fenster: 3-Fach Verglasung
        column_span: 3
    cards: []
    title: Info zum Haus
  - sections:
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: Klimatisierung
            icon: mdi:home-thermometer-outline
          - type: tile
            entity: sensor.ebusd_lueftung_wtw04_airinlettemp
            name:
              type: entity
            vertical: false
            features:
              - type: trend-graph
            features_position: bottom
          - type: tile
            entity: weather.forecast_home
            name:
              type: device
            state_content:
              - temperature
              - wind_speed
              - state
            vertical: false
            features:
              - type: temperature-forecast
                forecast_type: hourly
                days_to_show: 7
            features_position: bottom
          - type: markdown
            content: " "
            text_only: true
            grid_options:
              columns: full
          - type: tile
            entity: sensor.badezimmer_wandthermostat_temperatur
            name:
              type: area
            vertical: false
            features:
              - type: trend-graph
            features_position: bottom
          - type: tile
            entity: sensor.wohnzimmer_wandthermostat_temperatur
            name:
              type: area
            hide_state: false
            vertical: false
            features:
              - type: trend-graph
                hours_to_show: 24
                detail: true
            features_position: bottom
          - type: tile
            entity: sensor.karell_wandthermostat_temperatur
            name:
              type: area
            vertical: false
            features:
              - type: trend-graph
            features_position: bottom
          - type: tile
            entity: sensor.martha_wandthermostat_temperatur
            name:
              type: area
            vertical: false
            features:
              - type: trend-graph
            features_position: bottom
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: Energiemanagement
            icon: mdi:home-lightning-bolt-outline
      - type: grid
        cards:
          - type: heading
            heading: Beschattung
            heading_style: title
            icon: mdi:shield-sun-outline
      - type: grid
        cards:
          - type: heading
            heading: Räume
            heading_style: subtitle
          - type: vertical-stack
            cards:
              - type: heading
                heading: Terrasse
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_markise
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_markise
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
                  - type: entity
                    entity: binary_sensor.beschattung_markise_elevation_ok
                    icon: mdi:angle-acute
                    show_name: false
                    show_state: false
                    color: green
                grid_options:
                  columns: 24
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: cover.markise
                    icon: mdi:awning
                    name: >-
                      Markise {{
                      state_attr('cover.markise','current_position')|int }}%  · 
                      FM {{
                      state_attr('cover.markise_vorne','current_position')|int
                      }}%
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: cover.markise
                      name: Einstellungen
                      icon: mdi:tune
                      state: ""
                    items:
                      - entity: cover.markise
                        name: Markise
                      - entity: cover.markise_vorne
                        name: Frontmarkise
                      - entity: input_boolean.beschattung_sperre_markise
                        name: Sperre
                      - entity: sensor.markise_device_temperature
                        name: Geräte Temperatur
            grid_options:
              columns: 12
              rows: auto
          - type: vertical-stack
            cards:
              - type: heading
                heading: Wohnzimmer
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_wohnzimmer_links
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_wohnzimmer_links
                  - type: entity
                    entity: input_boolean.beschattung_sperre_wohnzimmer_rechts
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_wohnzimmer_rechts
                  - type: entity
                    entity: binary_sensor.terrassentur_links_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.terrassentur_rechts_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_wohnzimmer_aktiv
                    icon: mdi:sofa
                    toggle: true
                    name: >-
                      Links {{
                      state_attr('cover.terrassentur_links','current_position')|int
                      }}%  ·  Rechts {{
                      state_attr('cover.terrassentur_rechts','current_position')|int
                      }}%
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_wohnzimmer_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: >-
                        {{ states('input_select.beschattung_wohnzimmer_profil')
                        }}
                    items:
                      - entity: input_boolean.beschattung_party_modus_wohnzimmer
                        name: Party-Modus
                        icon: mdi:party-popper
                      - entity: input_datetime.beschattung_wohnzimmer_morgens_werktag
                        name: Morgens Werktag
                      - entity: >-
                          input_datetime.beschattung_wohnzimmer_morgens_wochenende
                        name: Morgens Wochenende/Feiertag
                      - entity: input_datetime.beschattung_wohnzimmer_abends_zeit
                        name: Abends (Fallback)
                      - entity: input_select.beschattung_wohnzimmer_profil
                        name: Profil
                      - type: custom:template-entity-row
                        entity: input_boolean.beschattung_sperre_wohnzimmer_links
                        name: Sperre Links
                        icon: mdi:hand-back-right
                        toggle: true
                        state_color: true
                        secondary: >-
                          {% if
                          is_state('timer.beschattung_sperre_wohnzimmer_links','active')
                          %}{{
                          state_attr('timer.beschattung_sperre_wohnzimmer_links','remaining')
                          }}{% else %}–{% endif %}
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_wohnzimmer_links
                            state: active
                        row:
                          entity: timer.beschattung_sperre_wohnzimmer_links
                          name: ""
                      - type: custom:template-entity-row
                        entity: input_boolean.beschattung_sperre_wohnzimmer_rechts
                        name: Sperre Rechts
                        icon: mdi:hand-back-right
                        toggle: true
                        state_color: true
                        secondary: >-
                          {% if
                          is_state('timer.beschattung_sperre_wohnzimmer_rechts','active')
                          %}{{
                          state_attr('timer.beschattung_sperre_wohnzimmer_rechts','remaining')
                          }}{% else %}–{% endif %}
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_wohnzimmer_rechts
                            state: active
                        row:
                          entity: timer.beschattung_sperre_wohnzimmer_rechts
                          name: ""
                      - entity: sensor.terrassentur_links
                        name: Tür Links
                      - entity: sensor.terrassentur_rechts
                        name: Tür Rechts
                      - entity: sensor.wohnzimmer_wandthermostat_temperatur
                        name: Temperatur
          - type: vertical-stack
            cards:
              - type: heading
                heading: Martha
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_martha
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_martha
                  - type: entity
                    entity: binary_sensor.martha_fenster_links_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.martha_fenster_rechts_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: person.martha
                    icon: mdi:human-child
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_martha_aktiv
                    icon: mdi:teddy-bear
                    toggle: true
                    name: "{{ state_attr('cover.martha','current_position')|int }}%"
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_martha_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: "{{ states('input_select.beschattung_martha_profil') }}"
                    items:
                      - entity: input_select.beschattung_martha_profil
                        name: Profil
                      - entity: input_number.martha_rollo_hitzeschutz_position
                        name: Position Komfort anwesend
                      - entity: input_boolean.martha_rollo_morgens_aktiv
                        name: Morgens aktiv
                      - entity: input_datetime.martha_rollo_morgens_zeit
                        name: Morgens Werktag
                      - entity: input_boolean.martha_rollo_wochenende_aktiv
                        name: Wochenende aktiv
                      - entity: input_datetime.martha_rollo_wochenende_zeit
                        name: Morgens WE/Feiertag
                      - entity: input_boolean.martha_rollo_abends_aktiv
                        name: Abends aktiv
                      - entity: input_datetime.martha_rollo_abends_zeit
                        name: Abends Uhrzeit
                      - entity: input_number.martha_rollo_morgens_position
                        name: Position morgens
                      - entity: input_number.martha_rollo_abends_position
                        name: Position abends
                      - type: custom:template-entity-row
                        entity: input_boolean.beschattung_sperre_martha
                        name: Komfortsperre
                        icon: mdi:hand-back-right
                        toggle: true
                        state_color: true
                        secondary: >-
                          {% if
                          is_state('timer.beschattung_sperre_martha','active')
                          %}{{
                          state_attr('timer.beschattung_sperre_martha','remaining')
                          }}{% else %}–{% endif %}
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_martha
                            state: active
                        row:
                          entity: timer.beschattung_sperre_martha
                          name: ""
                      - entity: sensor.martha_fenster_links
                        name: Fenster Links
                      - entity: sensor.martha_fenster_rechts
                        name: Fenster Rechts
                      - entity: sensor.martha_wandthermostat_temperatur
                        name: Temperatur
          - type: vertical-stack
            cards:
              - type: heading
                heading: Schlafzimmer
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_schlafzimmer
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_schlafzimmer
                  - type: entity
                    entity: binary_sensor.schlafzimmer_fenster_links_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.schlafzimmer_fenster_rechts_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_schlafzimmer_aktiv
                    icon: mdi:bed-king
                    toggle: true
                    name: >-
                      {{ state_attr('cover.schlafzimmer','current_position')|int
                      }}%{% if
                      is_state('input_boolean.beschattung_schlafzimmer_fenstersteuerung','on')
                      %}  🔄{% endif %}
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_schlafzimmer_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: >-
                        {{
                        states('input_select.beschattung_schlafzimmer_profil')
                        }}
                    items:
                      - entity: input_select.beschattung_schlafzimmer_profil
                        name: Profil
                      - entity: >-
                          input_boolean.beschattung_schlafzimmer_fenstersteuerung
                        name: Fenstersteuerung
                      - entity: input_number.beschattung_schlafzimmer_luftungsposition
                        name: Lüftungsposition
                      - entity: input_boolean.beschattung_sperre_schlafzimmer
                        name: Komfortsperre
                        icon: mdi:hand-back-right
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_schlafzimmer
                            state: active
                        row:
                          entity: timer.beschattung_sperre_schlafzimmer
                          name: ""
                      - entity: sensor.schlafzimmer_fenster_links
                        name: Fenster Links
                      - entity: sensor.schlafzimmer_fenster_rechts
                        name: Fenster Rechts
          - type: vertical-stack
            cards:
              - type: heading
                heading: Küche
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: input_boolean.beschattung_sperre_kueche
                    icon: mdi:hand-back-right
                    show_name: false
                    show_state: false
                    color: red
                    tap_action:
                      action: call-service
                      service: timer.cancel
                      service_data:
                        entity_id: timer.beschattung_sperre_kuche
                  - type: entity
                    entity: binary_sensor.kuchenfenster_window
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_vorderseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: binary_sensor.jemand_zuhause
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_kueche_aktiv
                    icon: mdi:fridge-outline
                    toggle: true
                    name: >-
                      {{ state_attr('cover.kueche','current_position')|int }}% 
                      ·  PV1 {{
                      states('sensor.solarbank_3_e2700_pro_solar_pv1')|int }}W
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_select.beschattung_kueche_profil
                      name: Einstellungen
                      icon: mdi:tune
                      state: "{{ states('input_select.beschattung_kueche_profil') }}"
                    items:
                      - entity: input_select.beschattung_kueche_profil
                        name: Profil
                      - entity: input_boolean.beschattung_sperre_kueche
                        name: Komfortsperre
                        icon: mdi:hand-back-right
                      - type: conditional
                        conditions:
                          - condition: state
                            entity: timer.beschattung_sperre_kuche
                            state: active
                        row:
                          entity: timer.beschattung_sperre_kuche
                          name: ""
                      - entity: sensor.kuchenfenster
                        name: Fenster
                      - entity: input_number.beschattung_pv1_schwelle_kuche
                        name: PV1 Schwelle
          - type: vertical-stack
            cards:
              - type: heading
                heading: Karell (geplant)
                heading_style: subtitle
                badges:
                  - type: entity
                    entity: binary_sensor.karell_fenster
                    icon: mdi:window-open
                    show_name: false
                    show_state: false
                    color: blue
                  - type: entity
                    entity: binary_sensor.sonnenschutz_gartenseite_noetig
                    icon: mdi:weather-sunny
                    show_name: false
                    show_state: false
                    color: amber
                  - type: entity
                    entity: binary_sensor.beschattung_hitzeschutz_noetig
                    icon: mdi:fire
                    show_name: false
                    show_state: false
                    color: deep-orange
                  - type: entity
                    entity: person.karell
                    icon: mdi:account
                    show_name: false
                    show_state: false
                    color: green
              - type: entities
                show_header_toggle: false
                entities:
                  - type: custom:template-entity-row
                    entity: input_boolean.beschattung_karell_aktiv
                    icon: mdi:clock-outline
                    toggle: true
                    name: 
                  - type: custom:fold-entity-row
                    head:
                      type: custom:template-entity-row
                      entity: input_boolean.beschattung_karell_aktiv
                      name: Einstellungen
                      icon: mdi:tune
                      state: ""
                    items:
                      - entity: sensor.karell_fenster
                        name: Fenster
                      - entity: sensor.karell_wandthermostat_temperatur
                        name: Temperatur
        column_span: 1
    cards: []
    badges:
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.zahlerstand
        name: Strom
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        name: Gas
        entity: sensor.gas_smartmeterreader_gasverbrauch
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.wasser_zahlerstand
        name: Wasser
    type: sections
    max_columns: 4
    title: TEST
    show_icon_and_title: false
    header:
      layout: center
      badges_position: top
      badges_wrap: wrap
    dense_section_placement: true

Kids-Dashboard

views:
  - type: sections
    sections:
      - type: grid
        cards:
          - type: custom:auto-entities
            card:
              show_header_toggle: false
              type: entities
              state_color: true
            filter:
              include:
                - options:
                    secondary_info: last-changed
                  sort:
                    method: name
                  label: fenster_turen
                  state: Offen
                - options:
                    secondary_info: last-changed
                  label: fenster_turen
                  state: Gekippt
                - options:
                    secondary_info: last-changed
                  label: fenster_turen
                  state: "on"
              exclude:
                - entity_id: binary_sensor.fenster_state
            sort:
              method: friendly_name
              reverse: false
              numeric: false
              ignore_case: false
              ip: false
            show_empty: false
            unique: true
            visibility:
              - condition: state
                entity: binary_sensor.fenster_state
                state: "on"
              - condition: location
                locations:
                  - home
      - type: grid
        cards:
          - type: heading
            icon: mdi:home-lightbulb-outline
            heading_style: title
            heading: Beleuchtung
          - type: conditional
            conditions: []
            card:
              type: vertical-stack
              cards:
                - type: custom:mushroom-light-card
                  icon: ""
                  entity: light.martha
                  name: Deckenlampe
                - type: custom:mushroom-light-card
                  icon: ""
                  entity: light.led_lampe_martha
                  name: LED Lampe
                  use_light_color: true
                  show_brightness_control: true
                  show_color_control: true
                  collapsible_controls: false
                  show_color_temp_control: false
                  layout: horizontal
                - type: custom:mushroom-light-card
                  icon: mdi:led-strip-variant
                  entity: light.yh_rgb2
                  name: LED Bett
                  use_light_color: true
                  show_brightness_control: true
                  show_color_control: true
                  collapsible_controls: false
                  show_color_temp_control: false
                  layout: horizontal
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: "Beschattung "
            icon: mdi:shield-sun-outline
            badges:
              - type: entity
                entity: input_boolean.beschattung_sperre_martha
                icon: mdi:hand-back-right
                show_name: false
                show_state: false
                color: red
                tap_action:
                  action: call-service
                  service: timer.cancel
                  service_data:
                    entity_id: timer.beschattung_sperre_martha
              - type: entity
                entity: binary_sensor.martha_fenster_links_window
                icon: mdi:window-open
                show_name: false
                show_state: false
                color: blue
              - type: entity
                entity: binary_sensor.martha_fenster_rechts_window
                icon: mdi:window-open
                show_name: false
                show_state: false
                color: blue
              - type: entity
                entity: binary_sensor.sonne_auf_gartenseite
                icon: mdi:weather-sunny
                show_name: false
                show_state: false
                color: amber
              - type: entity
                entity: binary_sensor.sonnenschutz_gartenseite_noetig
                icon: mdi:shield-sun
                show_name: false
                show_state: false
                color: amber
              - type: entity
                entity: binary_sensor.beschattung_hitzeschutz_noetig
                icon: mdi:fire
                show_name: false
                show_state: false
                color: deep-orange
          - type: conditional
            conditions: []
            card:
              type: vertical-stack
              cards:
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-cover-card
                      show_position_control: true
                      entity: cover.martha
                      primary_info: none
                      hold_action:
                        action: more-info
                      double_tap_action:
                        action: none
                      show_buttons_control: false
                      show_tilt_position_control: false
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-chips-card
                      chips:
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.stop_cover
                            target:
                              device_id: 0365024adcaecac5e2064aa783d0ab64
                            data: {}
                          icon: mdi:stop
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 0%
                          entity: scene.martha_rolladen_auf_0
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          name: 60%
                          content_info: name
                          entity: scene.martha_rolladen_auf_60
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 100%
                          entity: scene.martha_rolladen_auf_100
                      alignment: center
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: Multimedia
            icon: mdi:multimedia
          - type: custom:mushroom-media-player-card
            entity: media_player.martha_lautsprecher
            fill_container: true
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
            media_controls:
              - on_off
              - previous
              - play_pause_stop
              - next
            collapsible_controls: false
            grid_options:
              columns: full
        visibility:
          - condition: or
            conditions:
              - condition: and
                conditions:
                  - condition: state
                    entity: media_player.martha_lautsprecher
                    state_not: "off"
                  - condition: state
                    entity: media_player.martha_lautsprecher
                    state_not: unavailable
              - condition: location
                locations:
                  - home
      - type: grid
        cards:
          - initial_view: listWeek
            type: calendar
            entities:
              - calendar.martha_emilia
    badges:
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: weather.forecast_home
        state_content:
          - temperature
          - state
          - wind_speed
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: sensor.martha_wandthermostat_temperatur
        icon: mdi:home-thermometer
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.martha_fenster_links
        state_content: state
        visibility:
          - condition: state
            entity: sensor.martha_fenster_links
            state_not: Geschlossen
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        entity: sensor.martha_fenster_rechts
        state_content: state
        visibility:
          - condition: state
            entity: sensor.martha_fenster_rechts
            state_not: Geschlossen
    max_columns: 1
    icon: mdi:teddy-bear
    cards: []
    footer: {}
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
      - user: 8f6b5918911e4b18b23f6b417ce2dea3
  - type: sections
    sections:
      - type: grid
        cards:
          - type: custom:auto-entities
            card:
              show_header_toggle: false
              type: entities
              state_color: true
            filter:
              include:
                - options:
                    secondary_info: last-changed
                  sort:
                    method: name
                  label: fenster_turen
                  state: Offen
                - options:
                    secondary_info: last-changed
                  label: fenster_turen
                  state: Gekippt
                - options:
                    secondary_info: last-changed
                  label: fenster_turen
                  state: "on"
              exclude:
                - entity_id: binary_sensor.fenster_state
            sort:
              method: friendly_name
              reverse: false
              numeric: false
              ignore_case: false
              ip: false
            show_empty: false
            unique: true
            visibility:
              - condition: state
                entity: binary_sensor.fenster_state
                state: "on"
              - condition: location
                locations:
                  - home
      - type: grid
        cards:
          - type: heading
            icon: mdi:home-lightbulb-outline
            heading_style: title
            heading: Beleuchtung
          - type: conditional
            conditions: []
            card:
              type: vertical-stack
              cards:
                - type: custom:mushroom-light-card
                  icon: ""
                  entity: light.karell
                  name: Deckenlampe
                - type: custom:mushroom-light-card
                  icon: ""
                  entity: light.led_lampe_karell
                  name: LED Lampe
                  use_light_color: true
                  show_brightness_control: true
                  show_color_control: true
                  collapsible_controls: false
                  show_color_temp_control: false
                  layout: horizontal
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: "Beschattung "
            icon: mdi:shield-sun-outline
          - type: conditional
            conditions: []
            card:
              type: vertical-stack
              cards:
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-cover-card
                      show_position_control: true
                      entity: cover.martha
                      primary_info: none
                      hold_action:
                        action: none
                      double_tap_action:
                        action: none
                - type: horizontal-stack
                  cards:
                    - type: custom:mushroom-chips-card
                      chips:
                        - type: action
                          tap_action:
                            action: call-service
                            service: cover.stop_cover
                            target:
                              device_id: 0365024adcaecac5e2064aa783d0ab64
                            data: {}
                          icon: mdi:stop
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 0%
                          entity: scene.martha_rolladen_auf_0
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          name: 60%
                          content_info: name
                          entity: scene.martha_rolladen_auf_60
                        - type: entity
                          tap_action:
                            action: toggle
                          hold_action:
                            action: none
                          double_tap_action:
                            action: none
                          content_info: name
                          name: 100%
                          entity: scene.martha_rolladen_auf_100
                      alignment: center
        visibility:
          - condition: user
            users: []
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: Multimedia
            icon: mdi:multimedia
          - type: custom:mushroom-media-player-card
            entity: media_player.karell_lautsprecher
            fill_container: true
            use_media_info: true
            show_volume_level: true
            volume_controls:
              - volume_set
              - volume_buttons
            media_controls:
              - on_off
              - previous
              - play_pause_stop
              - next
            collapsible_controls: false
            grid_options:
              columns: full
        visibility:
          - condition: or
            conditions:
              - condition: and
                conditions:
                  - condition: state
                    entity: media_player.karell_lautsprecher
                    state_not: "off"
                  - condition: state
                    entity: media_player.karell_lautsprecher
                    state_not: unavailable
              - condition: location
                locations:
                  - home
      - type: grid
        column_span: 1
        cards:
          - initial_view: listWeek
            type: calendar
            entities:
              - calendar.karell
              - calendar.brock_jana_yahoo_de
              - calendar.brock_jana_yahoo_de_hausaufgaben
              - calendar.brock_jana_yahoo_de_prufungen
    badges:
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: weather.forecast_home
        state_content:
          - temperature
          - state
          - wind_speed
      - type: entity
        show_name: false
        show_state: true
        show_icon: true
        entity: sensor.karell_wandthermostat_temperatur
        icon: mdi:home-thermometer
      - type: entity
        show_name: true
        show_state: true
        show_icon: true
        state_content: state
        visibility:
          - condition: state
            entity: sensor.karell_fenster
            state_not: Geschlossen
        entity: sensor.karell_fenster
    max_columns: 1
    icon: mdi:toy-brick-outline
    cards: []
    footer: {}
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
      - user: ae8d806456e746cbb5651a273b9ebf58
  - type: sections
    max_columns: 1
    icon: mdi:cctv
    path: ""
    sections:
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: Kamera
            icon: mdi:video
          - type: custom:advanced-camera-card
            cameras:
              - camera_entity: camera.eingangsbereich_standardauflosung
                capabilities:
                  disable: []
                  disable_except:
                    - live
                reolink:
                  media_resolution: high
            menu:
              buttons:
                iris:
                  enabled: false
            live:
              controls:
                wheel: false
                builtin: false
            status_bar:
              style: none
        visibility:
          - condition: and
            conditions:
              - condition: location
                locations:
                  - home
              - condition: state
                entity: person.enrico_brock
                state_not: home
              - condition: state
                entity: person.jana
                state_not: home
      - type: grid
        cards:
          - type: heading
            heading_style: title
            heading: Kamera
            icon: mdi:video-off
          - type: markdown
            content: |-
              ### Hinweis  

              Die Kamera wird nur dann angezeigt, wenn du allein zu Hause bist.
        visibility:
          - condition: not
            conditions:
              - condition: and
                conditions:
                  - condition: location
                    locations:
                      - home
                  - condition: state
                    entity: person.enrico_brock
                    state_not: home
                  - condition: state
                    entity: person.jana
                    state_not: home
    cards: []
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
      - user: ae8d806456e746cbb5651a273b9ebf58
      - user: 8f6b5918911e4b18b23f6b417ce2dea3
  - type: sections
    max_columns: 1
    icon: mdi:cog
    path: ""
    sections:
      - type: grid
        cards: []
      - type: grid
        cards:
          - type: heading
            icon: mdi:cog
            heading_style: title
            heading: Einstellungen
          - type: heading
            icon: mdi:shield-sun-outline
            heading_style: subtitle
            heading: Beschattung
          - type: entities
            show_header_toggle: false
            state_color: true
            entities:
              - entity: input_boolean.beschattung_martha_aktiv
                name: Beschattung aktiv
              - entity: input_select.beschattung_martha_profil
                name: Profil
              - entity: input_number.martha_rollo_hitzeschutz_position
                name: Position Komfort anwesend
          - type: heading
            icon: mdi:weather-sunset-up
            heading_style: subtitle
            heading: Morgens
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_boolean.martha_rollo_morgens_aktiv
                name: Morgens fahren
              - entity: input_datetime.martha_rollo_morgens_zeit
                name: Uhrzeit
                icon: mdi:clock-time-eight-outline
              - entity: input_number.martha_rollo_morgens_position
                name: Position
          - type: heading
            icon: mdi:weather-sunset-down
            heading_style: subtitle
            heading: Abends
          - type: heading
            icon: mdi:calendar-weekend
            heading_style: subtitle
            heading: Wochenende
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_boolean.martha_rollo_wochenende_aktiv
                name: Sa/So auffahren
              - entity: input_datetime.martha_rollo_wochenende_zeit
                name: Uhrzeit
          - type: entities
            show_header_toggle: false
            entities:
              - entity: input_boolean.martha_rollo_abends_aktiv
                name: Abends fahren
              - entity: input_datetime.martha_rollo_abends_zeit
                name: Uhrzeit
                icon: mdi:clock-time-ten-outline
              - entity: input_number.martha_rollo_abends_position
                name: Position
          - type: heading
            icon: mdi:message-alert-outline
            heading_style: subtitle
            heading: Benachrichtigung
          - type: entities
            entities:
              - entity: automation.benachrichtigung_martha_fenster_oder_tur_offen
                icon: mdi:cellphone-message
        visibility:
          - condition: user
            users:
              - 8f6b5918911e4b18b23f6b417ce2dea3
              - c5f685dc82c147ae8ba800ce4b019fc0
      - type: grid
        cards:
          - type: heading
            icon: mdi:cog
            heading_style: title
            heading: Einstellungen
          - type: heading
            icon: mdi:arrow-decision-auto-outline
            heading_style: subtitle
            heading: Automationen
          - type: entities
            entities:
              - type: custom:template-entity-row
                name: Aktuell keine Automation vorhanden.
                icon: mdi:information-outline
          - type: heading
            heading_style: subtitle
            heading: "Benachrichtigung "
            icon: mdi:message-alert-outline
          - type: entities
            entities:
              - type: custom:template-entity-row
                name: Aktuell keine Benachrichtigungen vorhanden.
                icon: mdi:information-outline
        visibility:
          - condition: user
            users:
              - c5f685dc82c147ae8ba800ce4b019fc0
              - ae8d806456e746cbb5651a273b9ebf58
    cards: []
    visible:
      - user: c5f685dc82c147ae8ba800ce4b019fc0
      - user: ae8d806456e746cbb5651a273b9ebf58
      - user: 8f6b5918911e4b18b23f6b417ce2dea3

Apps-View

views:
  - path: apps
    icon: mdi:apps
    type: sections
    badges: []
    sections:
      - type: grid
        cards:
          - type: heading
            heading: System & Verwaltung
            heading_style: title
            icon: mdi:server
          - show_name: true
            show_icon: true
            type: button
            icon: mdi:home-assistant
            tap_action:
              action: navigate
              navigation_path: /config/apps
            name: Apps
          - show_name: true
            show_icon: true
            type: button
            name: File Editor
            icon: mdi:file-edit
            tap_action:
              action: navigate
              navigation_path: /app/core_configurator
          - show_name: true
            show_icon: true
            type: button
            name: SSH & Web Terminal
            icon: mdi:console
            tap_action:
              action: navigate
              navigation_path: /app/a0d7b954_ssh
          - show_name: true
            show_icon: true
            type: button
            name: Firefox (Add-on)
            icon: mdi:firefox
            tap_action:
              action: navigate
              navigation_path: /app/49e24ccc_firefox
          - show_name: true
            show_icon: true
            type: button
            icon: mdi:router-wireless
            tap_action:
              action: navigate
              navigation_path: /app/de838cd8_openccu_proxy
            name: OpenCCU
          - show_name: true
            show_icon: true
            type: button
            icon: mdi:wrench-cog
            tap_action:
              action: navigate
              navigation_path: /homematic-config
            name: HM Gerätekonfiguration
          - show_name: true
            show_icon: true
            type: button
            icon: hacs:hacs
            tap_action:
              action: navigate
              navigation_path: /hacs
            name: HACS
          - show_name: true
            show_icon: true
            type: button
            icon: mdi:shield-home
            tap_action:
              action: navigate
              navigation_path: /alarmo
            name: Alarmo
        column_span: 1
      - type: grid
        cards:
          - type: heading
            heading: Entwicklung & Geräte
            heading_style: title
            icon: mdi:chip
          - show_name: true
            show_icon: true
            type: button
            name: Studio Code Server
            icon: mdi:code-braces
            tap_action:
              action: navigate
              navigation_path: /app/a0d7b954_vscode
          - show_name: true
            show_icon: true
            type: button
            name: ESPHome
            icon: mdi:chip
            tap_action:
              action: navigate
              navigation_path: /app/5c53de3b_esphome
          - show_name: true
            show_icon: true
            type: button
            name: MQTT Explorer
            icon: mdi:lan-connect
            tap_action:
              action: navigate
              navigation_path: /app/9cf1ea8f_mqtt_explorer
        column_span: 1
      - type: grid
        cards:
          - type: heading
            heading: Daten & Visualisierung
            heading_style: title
            icon: mdi:database
          - show_name: true
            show_icon: true
            type: button
            icon: mdi:database
            tap_action:
              action: navigate
              navigation_path: /app/a0d7b954_phpmyadmin
            name: phpMyAdmin
          - type: heading
            heading: Netzwerk & Monitoring
            heading_style: title
            icon: mdi:router-network
          - type: button
            name: FRITZ!Mesh
            icon: mdi:router-wireless
            tap_action:
              action: navigate
              navigation_path: /hassio/ingress/688bf4e9-fritzmesh
        column_span: 1
      - type: grid
        cards: []
        column_span: 1
    cards: []
    max_columns: 3
    background:
      opacity: 30
      alignment: center
      size: cover
      repeat: no-repeat
      attachment: fixed
      image:
        media_content_id: media-source://image_upload/c9f0ca9dfba7d4438273d69d9bd7985e
        media_content_type: image/png
        metadata:
          title: system-apps.png
          thumbnail: /api/image/serve/c9f0ca9dfba7d4438273d69d9bd7985e/256x256
          media_class: image
          navigateIds:
            - {}
            - media_content_type: app
              media_content_id: media-source://image_upload