Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- views:
- - title: Overview
- path: main
- id: main
- icon: mdi:home-heart
- cards:
- - type: conditional
- conditions:
- - entity: sensor.dwd_weather_warnings_duisburgnord_advance_warning_level
- state: '0'
- card:
- type: custom:meteoalarm-card
- entities:
- - entity: sensor.dwd_weather_warnings_duisburgsued_advance_warning_level
- - entity: sensor.dwd_weather_warnings_duisburgsued_current_warning_level
- integration: dwd
- disable_swiper: false
- override_headline: true
- hide_caption: false
- hide_when_no_warning: true
- scaling_mode: headline_and_scale
- - type: custom:mushroom-chips-card
- chips:
- - type: conditional
- conditions:
- - entity: sensor.geschirrspuler_operation_state
- state: Run
- chip:
- type: template
- icon: mdi:dishwasher
- icon_color: blue
- content: >-
- {% set sec =
- as_timestamp(states('sensor.geschirrspuler_remaining_program_time'))-as_timestamp(now())
- %} {%set hr = (sec / 3600) | int %} {%set min = sec / 60 - hr *
- 60%} {% if hr > 0 %}
- Noch {{"%dh %02dmin" % (hr, min)}}
- {%else%}
- {{min | int}} min
- {% endif %} ({% if
- is_state('switch.geschirrspuler_program_eco50', 'on') %}Eco 50{%
- elif is_state('switch.geschirrspuler_program_intensiv70', 'on')
- %} Intensiv 70{% elif
- is_state('switch.geschirrspuler_program_machinecare', 'on') %}
- Maschinenpflege {% elif
- is_state('switch.geschirrspuler_program_prerinse', 'on')
- %}Prerinse {% elif
- is_state('switch.geschirrspuler_program_quick45', 'on') %}Quick
- 45 {% elif is_state('switch.geschirrspuler_program_quick65',
- 'on') %}Quick 65{% elif
- is_state('switch.geschirrspuler_program_auto2', 'on') %}Auto 2{%
- endif %})
- - type: conditional
- conditions:
- - entity: sensor.geschirrspuler_operation_state
- state: Run
- chip:
- type: template
- icon: >-
- {% if
- states('binary_sensor.011040386004019199_dishcare_dishwasher_option_silenceondemand')
- == 'off' %}
- mdi:dishwasher-alert
- {% else %}
- mdi:dishwasher-off
- {% endif %}
- icon_color: >-
- {% if
- states('binary_sensor.011040386004019199_dishcare_dishwasher_option_silenceondemand')
- == 'off' %}
- orange
- {% else %}
- green
- {% endif %}
- content: >-
- {% if
- states('binary_sensor.011040386004019199_dishcare_dishwasher_option_silenceondemand')
- == 'off' %}
- Spülmaschine ist laut
- {% else %}
- Spülmaschine ist leise
- {% endif %}
- entity: >-
- switch.011040386004019199_dishcare_dishwasher_option_silenceondemand
- tap_action:
- action: toggle
- - type: conditional
- conditions:
- - entity: input_boolean.gedachtnis_geschirrspulmaschine
- state: 'on'
- chip:
- type: template
- icon: mdi:dishwasher
- icon_color: blue
- content: >-
- Spülmaschine um {% set t =
- state_attr('input_datetime.uhrzeit_spulmaschine', 'timestamp') -
- 3600 %} {{ t | timestamp_custom("%H:%M") }} Uhr
- - type: conditional
- conditions:
- - condition: state
- entity: sensor.bertha_status
- state: cleaning
- chip:
- type: entity
- entity: sensor.bertha_status
- state_color: true
- name: Bertha reinigt
- use_entity_picture: true
- content_info: name
- icon_color: light-green
- tap_action:
- action: more-info
- icon: mdi:robot-vacuum
- - type: conditional
- conditions:
- - entity: input_boolean.gedachtnis_alarmanlage_nach_bertha
- state: 'on'
- chip:
- type: entity
- entity: input_boolean.gedachtnis_alarmanlage_nach_bertha
- state_color: true
- name: Alarm aus weil Bertha
- use_entity_picture: true
- content_info: name
- icon_color: red
- - type: conditional
- conditions:
- - entity: input_boolean.einbruch
- state: 'on'
- chip:
- type: entity
- entity: input_boolean.einbruch
- state_color: true
- name: Einbruch
- icon: mdi:shield-home-outline
- use_entity_picture: true
- content_info: name
- icon_color: red
- - type: conditional
- conditions:
- - entity: input_boolean.gedachtnis_alarmanlage
- state: 'on'
- chip:
- type: entity
- entity: input_boolean.gedachtnis_alarmanlage
- state_color: true
- name: Alarmanlage
- use_entity_picture: true
- content_info: name
- icon_color: red
- - type: conditional
- conditions:
- - entity: input_boolean.gedachtnis_besuch
- state: 'on'
- chip:
- type: template
- icon: mdi:account-group
- icon_color: orange
- content: Besuch ist da
- - type: conditional
- conditions:
- - entity: input_boolean.gedachtnis_automatisches_luften
- state: 'on'
- chip:
- type: template
- icon: mdi:wind-power
- icon_color: blue
- content: >-
- {% if states('input_boolean.gedachtnis_automatisches_luften') ==
- 'on' %} {% set time = as_timestamp(now()) -
- as_timestamp(state_attr('script.luften', 'last_triggered')) %}
- Noch {{ (30 - time / 60) | int }} min{% endif %}
- Stoßlüften
- - type: conditional
- conditions:
- - entity: input_boolean.kuhlung
- state: 'on'
- - entity: sensor.kwl_season_val
- state: '1'
- chip:
- type: template
- icon: mdi:snowflake
- icon_color: blue
- content: Kühlung aktiv
- tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/heat
- - type: conditional
- conditions:
- - entity: light.wifi_led_strahler_wf_2050_p
- state: 'on'
- chip:
- type: template
- icon: mdi:light-flood-down
- icon_color: yellow
- content: 'Licht: Einfahrt'
- entity: light.wifi_led_strahler_wf_2050_p
- tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/lights
- - type: conditional
- conditions:
- - entity: switch.shelly1_terrassenlampe
- state: 'on'
- chip:
- type: template
- icon: mdi:coach-lamp
- icon_color: yellow
- content: 'Licht: Terrasse'
- entity: switch.shelly1_terrassenlampe
- - type: conditional
- conditions:
- - entity: switch.shelly1_htr
- state: 'on'
- chip:
- type: template
- icon: mdi:heat-pump-outline
- icon_color: yellow
- content: 'Licht: HTR'
- entity: switch.shelly1_htr
- - type: conditional
- conditions:
- - entity: switch.aussenleuchte
- state: 'on'
- chip:
- type: template
- icon: mdi:outdoor-lamp
- icon_color: yellow
- content: 'Licht: Eingang'
- entity: switch.aussenleuchte
- - type: conditional
- conditions:
- - entity: input_boolean.waschmaschine_lauft
- state: 'on'
- chip:
- type: template
- icon: mdi:washing-machine
- icon_color: blue
- content: |-
- Waschmaschine läuft
- {%- set time = (as_timestamp(now()) - as_timestamp(states.input_boolean.waschmaschine_lauft.last_changed)) | int %}
- {%- set minutes = ((time % 3600) // 60) %}
- {%- set minutes = '{}min'.format(minutes) if minutes > 0 else '' %}
- {%- set hours = ((time % 86400) // 3600) %}
- {%- set hours = 'seit {}h '.format(hours) if hours > 0 else '' %}
- {%- set days = (time // 86400) %}
- {%- set days = '{}days '.format(days) if days > 0 else '' %}
- {{ 'Offen: < 1min' if time < 60 else days + hours + minutes }}
- tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/lights
- - type: conditional
- conditions:
- - entity: input_boolean.trockner_lauft
- state: 'on'
- chip:
- type: template
- icon: mdi:tumble-dryer
- icon_color: blue
- content: |-
- Trockner läuft
- {%- set time = (as_timestamp(now()) - as_timestamp(states.input_boolean.waschmaschine_lauft.last_changed)) | int %}
- {%- set minutes = ((time % 3600) // 60) %}
- {%- set minutes = '{}min'.format(minutes) if minutes > 0 else '' %}
- {%- set hours = ((time % 86400) // 3600) %}
- {%- set hours = 'seit {}h '.format(hours) if hours > 0 else '' %}
- {%- set days = (time // 86400) %}
- {%- set days = '{}days '.format(days) if days > 0 else '' %}
- {{ 'Offen: < 1min' if time < 60 else days + hours + minutes }}
- tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/lights
- - type: conditional
- conditions:
- - condition: numeric_state
- entity: sensor.kwl_restlaufzeit_filter_zu
- below: 1
- chip:
- type: template
- tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/temperature
- content: 'Maico: Filterwechsel'
- icon_color: cyan
- icon: mdi:filter-cog
- - type: conditional
- conditions:
- - entity: input_boolean.badetag
- state: 'on'
- chip:
- type: template
- icon: mdi:shower
- icon_color: red
- content: Badetag
- entity: input_boolean.badetag
- tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/heat
- - type: conditional
- conditions:
- - condition: state
- entity: switch.reolink_push
- state: 'on'
- chip:
- type: template
- icon: mdi:cctv
- icon_color: green
- content: Kameras an
- entity: switch.reolink_push
- tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/security
- alignment: center
- - type: vertical-stack
- cards:
- - type: custom:mushroom-chips-card
- chips:
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_garage_offnet_3
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_garage_offnet_3
- name: Garagentür nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_buro_offnet_10
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_buro_offnet_10
- name: Büro Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_g_wc_offnet_11
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_g_wc_offnet_11
- name: G-WC Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_esszimmer_offnet_7
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_esszimmer_offnet_7
- name: Esszimmer Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_emil_links_offnet_5
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_emil_links_offnet_5
- name: Emil L Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_schrankraum_offnet_6
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_schrankraum_offnet_6
- name: Schrankraum Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_haustur_offnet_8
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_haustur_offnet_8
- name: Haustür Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_htr_offnet_12
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_htr_offnet_12
- name: HTR Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_kuche_offnet_9
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_kuche_offnet_9
- name: Küche Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_post_offnet
- state: unavailable
- chip:
- type: entity
- entitiy: binary_sensor.contact_sensor_post_offnet
- name: Post Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_terrasse_mitte_offnet_4
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_terrasse_mitte_offnet_4
- name: Terrasentür Sensor mitte nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_terrasse_rechts_offnet_2
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_terrasse_rechts_offnet_2
- name: Terrasentür Sensor rechts nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.wasser_htr_feuchtigkeit
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.wasser_htr_feuchtigkeit
- name: Wassersensor HTR nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: binary_sensor.wasser_kuche_feuchtigkeit
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.wasser_kuche_feuchtigkeit
- name: Wassersensor Küchen Sensor nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: sensor.temperatur_htr_batterie_3
- state: unavailable
- chip:
- type: entity
- entity: sensor.temperatur_htr_batterie_3
- name: Raumsensor HTR nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: sensor.temperatur_abstellraum_batterie_2
- state: unavailable
- chip:
- type: entity
- entity: sensor.temperatur_abstellraum_batterie_2
- name: Raumsensor Abstell nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- use_entity_picture: false
- - type: conditional
- conditions:
- - entity: light.diele_1_licht
- state: unavailable
- chip:
- type: entity
- entity: light.diele_1_licht
- name: Diele ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - entity: sensor.bewegung_diele_batterie
- state: unavailable
- chip:
- type: entity
- entity: sensor.bewegung_diele_batterie
- name: Bewegungssesor Diele ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - entity: sensor.bewegung_g_wc_batterie
- state: unavailable
- chip:
- type: entity
- entity: sensor.bewegung_g_wc_batterie
- name: Bewegungssensor G-WC ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - entity: sensor.bewegung_htr_batterie
- state: unavailable
- chip:
- type: entity
- entity: sensor.bewegung_htr_batterie
- name: Bewegungssensor HTR ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - condition: or
- conditions:
- - condition: state
- entity: switch.tl_wa854re_internet_access
- state: unavailable
- - condition: state
- entity: switch.tl_wa854re_internet_access
- state: unknown
- chip:
- type: entity
- entity: switch.tl_wa854re_internet_access
- name: AP Büro nicht erreichbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_bad
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_bad
- name: Bad Sensor ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_ankleide_offnet
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_ankleide_offnet
- name: Ankleide Sensor ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.contact_sensor_sport_links_offnet_5
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_sport_links_offnet_5
- name: Sport L ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_sport_rechts_offnet
- state: unavailable
- chip:
- type: entity
- entity: binary_sensor.contact_sensor_sport_rechts_offnet
- name: Sport R ist nicht verfügbar
- icon: mdi:chat-question-outline
- content_info: name
- - type: vertical-stack
- cards:
- - type: conditional
- conditions:
- - condition: state
- entity: switch.geschirrspuler_power
- state_not: 'off'
- card:
- type: custom:bar-card
- entities:
- - entity: sensor.geschirrspuler_program_progress
- name: Fortschritt
- icon: mdi:dishwasher
- severity:
- - color: Indianred
- from: 0
- to: 25
- - color: Coral
- from: 25
- to: 50
- - color: Sandybrown
- from: 50
- to: 75
- - color: Darkkhaki
- from: 76
- to: 80
- - color: Yellowgreen
- from: 81
- to: 90
- - color: Limegreen
- from: 91
- to: 100
- state_color: false
- show_header_toggle: false
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.water_sensor_kitchen_bin
- state: 'on'
- card:
- type: custom:mushroom-template-card
- primary: Wasser in der Küche!
- secondary: ''
- icon: mdi:water-alert
- icon_color: red
- entity: binary_sensor.water_sensor_kitchen_bin
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.wassersensor_htr_feuchtigkeit
- state: 'on'
- card:
- type: custom:mushroom-template-card
- primary: Wasser im HTR!
- secondary: ''
- icon: mdi:water-alert
- icon_color: red
- entity: binary_sensor.wassersensor_htr_feuchtigkeit
- - square: false
- type: grid
- cards:
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_haustur_offnet_8
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_haustur_offnet_8
- name: Haustür
- icon: mdi:door-open
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: cover.smart_garage_door_garage
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: cover.smart_garage_door_garage
- name: Garagentor
- icon: mdi:garage-open
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_garage_offnet_3
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_garage_offnet_3
- name: Garagentür
- icon: mdi:door-open
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_buro_offnet_10
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_buro_offnet_10
- name: Büro
- icon: mdi:window-open-variant
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_g_wc_offnet_11
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_g_wc_offnet_11
- name: G-WC
- icon: mdi:window-open-variant
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_htr_offnet_12
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_htr_offnet_12
- name: HTR
- icon: mdi:window-open-variant
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_terrasse_mitte_offnet_4
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_terrasse_mitte_offnet_4
- name: Terrasse M
- icon: mdi:door-sliding-open
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_terrasse_rechts_offnet_2
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_terrasse_rechts_offnet_2
- name: Terrasse R
- icon: mdi:door-open
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_kuche_offnet_9
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_kuche_offnet_9
- name: Küche
- icon: mdi:window-open
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_esszimmer_offnet_7
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_esszimmer_offnet_7
- name: Esszimmer
- icon: mdi:silverware
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_emil_links_offnet_5
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_emil_links_offnet_5
- name: Emil L
- icon: mdi:baby
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_schrankraum_offnet_6
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_schrankraum_offnet_6
- name: Schrankraum
- icon: mdi:bag-suitcase
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_ankleide_offnet
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_ankleide_offnet
- name: Ankleide
- icon: mdi:hanger
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_sport_links_offnet_5
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_sport_links_offnet_5
- name: Sport links
- icon: mdi:dumbbell
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_sport_rechts_offnet
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_sport_rechts_offnet
- name: Sport rechts
- icon: mdi:dumbbell
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: binary_sensor.contact_sensor_post_offnet
- state: 'on'
- card:
- type: custom:bubble-card
- card_type: button
- entity: binary_sensor.contact_sensor_post_offnet
- name: Briefkasten
- icon: mdi:postage-stamp
- tap_action:
- action: more-info
- columns: 2
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - condition: state
- entity: input_boolean.erreichbarkeit_kamera_eingang
- state: 'off'
- card:
- type: custom:mushroom-template-card
- primary: Kamera am Eingang nicht mehr erreichbar
- secondary: >-
- Seit {% set s= ((as_timestamp(now()) -
- as_timestamp(states.input_boolean.erreichbarkeit_kamera_eingang.last_changed))
- / 60) | round(0) %} {% if s>50 %}{{(s/60)|round(0)}}h
- {{s%60}}{% else %}{{s}}{% endif %}min
- icon: mdi:cctv-off
- icon_color: red
- - type: conditional
- conditions:
- - condition: state
- entity: input_boolean.erreichbarkeit_kamera_garage
- state: 'off'
- card:
- type: custom:mushroom-template-card
- primary: Kamera an der Garage nicht mehr erreichbar
- secondary: >-
- Seit {% set s= ((as_timestamp(now()) -
- as_timestamp(states.input_boolean.erreichbarkeit_kamera_garage.last_changed))
- / 60) | round(0) %} {% if s>50 %}{{(s/60)|round(0)}}h
- {{s%60}}{% else %}{{s}}{% endif %}min
- icon: mdi:cctv-off
- icon_color: red
- - type: conditional
- conditions:
- - condition: state
- entity: input_boolean.erreichbarkeit_kamera_seite
- state: 'off'
- card:
- type: custom:mushroom-template-card
- primary: Kamera an der Seite nicht mehr erreichbar
- secondary: >-
- Seit {% set s= ((as_timestamp(now()) -
- as_timestamp(states.input_boolean.erreichbarkeit_kamera_seite.last_changed))
- / 60) | round(0) %} {% if s>50 %}{{(s/60)|round(0)}}h
- {{s%60}}{% else %}{{s}}{% endif %}min
- icon: mdi:cctv-off
- icon_color: red
- - type: conditional
- conditions:
- - condition: state
- entity: input_boolean.erreichbarkeit_kamera_garten
- state: 'off'
- card:
- type: custom:mushroom-template-card
- primary: Kamera im Garten nicht mehr erreichbar
- secondary: >-
- Seit {% set s= ((as_timestamp(now()) -
- as_timestamp(states.input_boolean.erreichbarkeit_kamera_garten.last_changed))
- / 60) | round(0) %} {% if s>50 %}{{(s/60)|round(0)}}h
- {{s%60}}{% else %}{{s}}{% endif %}min
- icon: mdi:cctv-off
- icon_color: red
- - type: conditional
- conditions:
- - condition: screen
- media_query: '(min-width: 1024px)'
- card:
- type: custom:clock-weather-card
- entity: weather.openweathermap
- sun_entity: sun.sun
- weather_icon_type: line
- animated_icon: true
- forecast_rows: 7
- locale: de
- time_format: 24
- hide_today_section: false
- hide_forecast_section: false
- - type: conditional
- conditions:
- - condition: screen
- media_query: '(min-width: 0px) and (max-width: 1023px)'
- card:
- show_current: true
- show_forecast: false
- type: weather-forecast
- entity: weather.openweathermap
- forecast_type: daily
- name: Duisburg
- - type: custom:mushroom-title-card
- title: Shortcut
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: Alles aus
- icon: mdi:power
- icon_color: red
- entity: sensor.solaredge_power_consumption
- tap_action:
- action: call-service
- service: script.neues_skript
- data: {}
- target: {}
- layout: vertical
- secondary: ''
- - type: custom:mushroom-template-card
- primary: Kamera
- secondary: ''
- icon: mdi:webcam
- icon_color: >-
- {% if states('switch.baby_kamera')=='on' %}yellow{% else
- %}grey{% endif %}
- entity: switch.baby_kamera
- tap_action:
- action: toggle
- layout: vertical
- - type: custom:mushroom-template-card
- primary: Garage
- secondary: >+
- {% if states('cover.smart_garage_door_garage')=='open'%}
- {%- set time = (as_timestamp(now()) - as_timestamp(states.cover.smart_garage_door_garage.last_changed)) | int %}
- {%- set minutes = ((time % 3600) // 60) %}
- {%- set minutes = '{}min'.format(minutes) if minutes > 0 else '' %}
- {%- set hours = ((time % 86400) // 3600) %}
- {%- set hours = 'Seit {}h '.format(hours) if hours > 0 else '' %}
- {%- set days = (time // 86400) %}
- {%- set days = '{}days '.format(days) if days > 0 else '' %}
- {{ 'Auf: < 1min' if time < 60 else days + hours + minutes }}
- {% elif states('cover.smart_garage_door_garage')=='opening'%}
- öffnet
- {% elif states('cover.smart_garage_door_garage')=='closing'%}
- schließt {% endif %}
- icon: >-
- {% if states('cover.smart_garage_door_garage')=='open'
- %}mdi:garage-open{% else %}mdi:garage{% endif %}
- icon_color: >+
- {% if states('cover.smart_garage_door_garage')=='open'%}orange
- {% elif states('cover.smart_garage_door_garage')=='opening'%}
- red
- {% elif states('cover.smart_garage_door_garage')=='closing'%}
- green
- {% else%} grey {% endif %}
- entity: cover.smart_garage_door_garage
- tap_action:
- action: toggle
- layout: vertical
- - type: conditional
- conditions:
- - condition: screen
- media_query: '(min-width: 1024px) and (max-width: 1279px)'
- card:
- type: custom:mushroom-template-card
- primary: 3min auf
- icon: >-
- {% if states('cover.smart_garage_door_garage')=='open'
- %}mdi:garage-alert{% else %}mdi:garage-lock{% endif %}
- secondary: >
- {% if states('cover.smart_garage_door_garage')=='open'%}
- {%- set time = (as_timestamp(now()) - as_timestamp(states.cover.smart_garage_door_garage.last_changed)) | int %}
- {%- set minutes = ((time % 3600) // 60) %}
- {%- set minutes = '{}min'.format(minutes) if minutes > 0 else '' %}
- {%- set hours = ((time % 86400) // 3600) %}
- {%- set hours = 'Seit {}h '.format(hours) if hours > 0 else '' %}
- {%- set days = (time // 86400) %}
- {%- set days = '{}days '.format(days) if days > 0 else '' %}: < 1min' if time < 60 else days + hours + minutes }}
- {% elif
- states('cover.smart_garage_door_garage')=='opening'%} öffnet
- {% elif
- states('cover.smart_garage_door_garage')=='closing'%}
- schließt
- {% endif %}
- icon_color: >-
- {% if
- states('input_boolean.gedachtnis_garage_schliessen')=='on'
- %}green{% else %}grey{% endif %}
- entity: input_boolean.gedachtnis_garage_schliessen
- tap_action:
- action: call-service
- service: script.garage_auf_3min
- target: {}
- layout: vertical
- - type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- title: Rollos
- title_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/rollos
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- icon: mdi:white-balance-sunny
- primary: EG auf
- layout: vertical
- tap_action:
- action: call-service
- service: script.guten_morgen_eg
- target: {}
- icon_color: >-
- {% if (state_attr('cover.esszimmer', 'current_position')|int >
- 50)
- or (state_attr('cover.terrasse_links', 'current_position')|int > 50)
- or (state_attr('cover.buro_klein', 'current_position')|int > 50) %}
- yellow
- {% endif %}
- secondary: >-
- {% set open=0 %}
- {% if (state_attr('cover.terrasse_links', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.terrasse_mitte', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.terrasse_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.esszimmer', 'current_position') |int
- > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.kuche', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.gaste_wc', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.htr', 'current_position') |int > 50)
- %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.buro_strasse', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.treppe', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.buro_klein', 'current_position') |int
- > 50) %} {% set open = open+1 %} {% endif %}
- {{ open }} auf
- badge_icon: mdi:home-floor-0
- - type: custom:mushroom-template-card
- icon: mdi:moon-waning-crescent
- primary: EG zu
- icon_color: >-
- {% if (state_attr('cover.esszimmer', 'current_position')|int <
- 50)
- and (state_attr('cover.terrasse_links', 'current_position')|int < 50)
- and (state_attr('cover.buro_klein', 'current_position')|int < 50) %}
- blue
- {% endif %}
- tap_action:
- action: call-service
- service: script.1664345375122
- target: {}
- secondary: >-
- {% set open=0 %}
- {% if (state_attr('cover.terrasse_links', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.terrasse_mitte', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.terrasse_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.esszimmer', 'current_position') |int
- > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.kuche', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.gaste_wc', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.htr', 'current_position') |int > 50)
- %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.buro_strasse', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.treppe', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.buro_klein', 'current_position') |int
- > 50) %} {% set open = open+1 %} {% endif %}
- {{ 10-open }} zu
- layout: vertical
- badge_icon: mdi:home-floor-0
- - type: custom:mushroom-template-card
- icon: mdi:white-balance-sunny
- primary: OG auf
- icon_color: >-
- {% if (state_attr('cover.ankleide', 'current_position')|int >
- 50)
- and (state_attr('cover.sport_links', 'current_position')|int > 50)
- and (state_attr('cover.emil_rechts', 'current_position')|int > 50) %}
- yellow
- {% endif %}
- tap_action:
- action: call-service
- service: script.guten_morgen_og
- target: {}
- secondary: >-
- {% set open=0 %}
- {% if (state_attr('cover.emil_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.sport_links', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.schrankraum', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.sport_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.ankleide', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.bad', 'current_position') |int > 60)
- %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.eltern_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.eltern_klein', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.emil_links', 'current_position') |int
- > 50) %} {% set open = open+1 %} {% endif %}
- {{ open }} auf
- layout: vertical
- badge_icon: mdi:home-floor-1
- - type: custom:mushroom-template-card
- icon: mdi:moon-waning-crescent
- primary: OG zu
- icon_color: >-
- {% if (state_attr('cover.ankleide', 'current_position')|int <
- 50)
- and (state_attr('cover.sport_links', 'current_position')|int < 50)
- and (state_attr('cover.emil_rechts', 'current_position')|int < 50) %}
- blue
- {% endif %}
- tap_action:
- action: call-service
- service: script.1664344364754
- target: {}
- secondary: >-
- {% set open=0 %}
- {% if (state_attr('cover.emil_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.sport_links', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.schrankraum', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.sport_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.ankleide', 'current_position') |int >
- 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.bad', 'current_position') |int > 60)
- %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.eltern_rechts', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.eltern_klein', 'current_position')
- |int > 50) %} {% set open = open+1 %} {% endif %}
- {% if (state_attr('cover.emil_links', 'current_position') |int
- > 50) %} {% set open = open+1 %} {% endif %}
- {{ 9 - open }} zu
- layout: vertical
- badge_icon: mdi:home-floor-1
- - type: custom:mushroom-title-card
- title: Stecker
- title_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/lights
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: Büro 1
- secondary: Verbrauch {{states('sensor.steckdose_buro_leistung_4')}} W
- icon: mdi:microsoft-office
- icon_color: >-
- {% if states('switch.steckdose_buro_schalter_4')=='on'
- %}green{% else %}grey{%endif%}
- entity: switch.steckdose_buro_schalter_4
- - type: custom:mushroom-template-card
- primary: Büro 2
- secondary: Verbrauch {{states('sensor.steckdose_gym_leistung_2')}} W
- icon: mdi:chair-rolling
- icon_color: >-
- {% if states('switch.steckdose_gym_schalter_2')=='on'
- %}green{% else %}grey{%endif%}
- entity: switch.steckdose_gym_schalter_2
- - type: custom:mushroom-title-card
- title: Energie
- title_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/solar
- subtitle: >-
- {% if states('sensor.varta_State') == '2' %} 🔋 Noch ca. {{((5.86
- - 5.86 * states('sensor.varta_soc') | int / 100) * 1000 /
- states('sensor.varta_charge') | int)| round(1)}}h {% elif
- states('sensor.varta_State') == '3' %} 🪫 Hält noch ca.
- {{(states('sensor.varta_soc_kwatt') | float /
- states('sensor.solaredge_power_consumption') | float ) |
- round(1)}}h{% elif states('sensor.solar_exported_watt') | int > 0
- %} 🤑 Strom wird exportiert ({{
- (states('sensor.pv_exported_energey') | float * 6.3) | round(1) }}
- Cent) {% elif states('sensor.varta_activepower') | int > 0 %} ⚡
- PV-Strom wird direkt verbraucht {% else %} 😒
- {{states('sensor.pv_imported_energey')}}kW für {{'%.2f' |
- format(states('sensor.pv_imported_energey')|float * 0.213)}}€
- eingekauft {% if states('sensor.pv_exported_energey') | int > 0 %}
- & {{ (states('sensor.pv_exported_energey') | float ) | round(1) }}
- kW verkauft ({{ (states('sensor.pv_exported_energey') | float *
- 6.3) | round(1) }} Cent) {% endif %}
- {% endif %}
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.varta_soc'')}}%'
- secondary: Kapazität
- icon: >-
- {% set soc = states('sensor.varta_soc')|int %} {% if
- states('sensor.varta_charge') %}
- {% if soc > 90 %} mdi:battery-charging
- {% elif soc > 80 %} mdi:battery-charging-80
- {% elif soc > 70 %} mdi:battery-charging-70
- {% elif soc > 60 %} mdi:battery-charging-60
- {% elif soc > 50 %} mdi:battery-charging-50
- {% elif soc > 40 %} mdi:battery-charging-40
- {% elif soc > 30 %} mdi:battery-charging-30
- {% elif soc > 20 %} mdi:battery-charging-20
- {% elif soc > 10 %} mdi:battery-charging-10
- {% else %} mdi:battery-off-outline
- {% endif %}
- {% else %}
- {% if soc > 90 %} mdi:battery
- {% elif soc > 80 %} mdi:battery-80
- {% elif soc > 70 %} mdi:battery-70
- {% elif soc > 60 %} mdi:battery-60
- {% elif soc > 50 %} mdi:battery-50
- {% elif soc > 40 %} mdi:battery-40
- {% elif soc > 30 %} mdi:battery-30
- {% elif soc > 20 %} mdi:battery-20
- {% elif soc > 10 %} mdi:battery-10
- {% else %} mdi:battery-off-outline
- {% endif %}
- {% endif %}
- icon_color: |-
- {% if states('sensor.varta_soc')|int > 75 %} green
- {% elif states('sensor.varta_soc')|int > 50 %} yellow
- {% elif states('sensor.varta_soc')|int > 25 %} orange
- {% else %} grey
- {% endif %}
- entity: sensor.varta_soc
- tap_action:
- action: more-info
- layout: vertical
- - type: custom:mushroom-template-card
- primary: >-
- {{ ( states('sensor.solaredge_power_consumption') | float *
- 1000 ) | int}} W
- secondary: Verbrauch
- icon: mdi:lightning-bolt
- icon_color: >-
- {% set cur = states('sensor.solaredge_current_power') |int %}
- {% set con = ( states('sensor.solaredge_power_consumption') |
- float * 1000 ) | int %}
- {% if (con - cur) < 100 %} green
- {% else %} red {% endif %}
- entity: sensor.solaredge_power_consumption
- tap_action:
- action: more-info
- layout: vertical
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.solaredge_current_power'') | int}} W'
- secondary: PV-Energie
- icon: >-
- {% if states('sensor.solaredge_current_power')|int > 0 %}
- mdi:sun-wireless-outline
- {% else %} mdi:emoticon-sad
- {% endif %}
- icon_color: >-
- {% if states('sensor.solaredge_current_power')|int > 0 %}
- yellow
- {% else %} grey
- {% endif %}
- tap_action:
- action: more-info
- layout: vertical
- entity: sensor.solaredge_current_power
- badge_color: ''
- - type: custom:mushroom-template-card
- primary: >-
- {% if states('sensor.pv_exported_energey') | float > 0.05 %}
- {{(states('sensor.pv_exported_energey')|float * 1000) |
- round()}} {% else %} 0 {% endif %} W
- secondary: Export
- icon: >-
- {% if states('sensor.pv_exported_energey')|float > 0 %}
- mdi:emoticon-cool
- {% else %} mdi:emoticon-sad
- {% endif %}
- icon_color: |-
- {% if states('sensor.pv_exported_energey')|float > 1 %} cyan
- {% else %} grey
- {% endif %}
- tap_action:
- action: more-info
- layout: vertical
- entity: sensor.pv_exported_energey
- - type: custom:mushroom-template-card
- primary: >-
- {% if states('sensor.pv_production_energey') | float > 0.05 %}
- {{(states('sensor.pv_production_energey')|float*1000) |
- round(0)}} {% else %} 0 {% endif %} W
- secondary: Produktion
- icon: >-
- {% if states('sensor.pv_production_energey')|float > 0 %}
- mdi:weather-sunny
- {% else %} mdi:weather-sunny-off
- {% endif %}
- icon_color: >-
- {% if states('sensor.pv_production_energey')|float*1000 > 100
- %} green
- {% else %} grey
- {% endif %}
- tap_action:
- action: more-info
- layout: vertical
- entity: sensor.pv_production_energey
- - type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- title: Temperatur
- title_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/temperature
- subtitle: >-
- {% set a=states('sensor.temperatur_schlafen_luftfeuchtigkeit')|int
- %} {% set b=states('sensor.temperatur_htr_luftfeuchtigkeit_3')|int
- %} {% set
- c=states('sensor.temperatur_abstellraum_luftfeuchtigkeit_2')|int
- %} {{min(a,b,c)}}% - {{max(a,b,c)}}% Luftfeuchtigkeit
- - type: conditional
- conditions:
- - entity: sensor.season
- state: summer
- card:
- type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: >-
- {% set uv = states('sensor.home_uv_index')|int %} Jetzt: {{
- uv }} {% if uv < 3 %} (niedrig) {% elif uv < 6 %} (mittel)
- {% elif uv < 8 %} (hoch) {% elif uv < 11 %} (sehr hoch) {%
- else %} (extrem) {% endif %}
- secondary: UV Index
- icon: mdi:sun-compass
- entity: sensor.home_uv_index
- icon_color: |-
- {% set uv = states('sensor.home_uv_index')|int %}
- {% if uv < 3 %} green
- {% elif uv < 6 %} yellow
- {% elif uv < 8 %} orange
- {% elif uv < 11 %} red
- {% else %} lila
- {% endif %}
- tap_action:
- action: more-info
- - type: custom:mushroom-template-card
- primary: >-
- {% if today_at("18:00") > now() %} {% set uv =
- states('sensor.home_uv_index_0d') | int %} {% else %} {% set
- uv = states('sensor.home_uv_index_1d') | int%} {% endif %}
- {% if today_at("18:00") > now() %} Heute: {% else %} Morgen:
- {% endif %} {{uv}} {% if uv < 3 %} (niedrig) {% elif uv < 6
- %} (mittel) {% elif uv < 8 %} (hoch) {% elif uv < 11 %}
- (sehr hoch) {% else %} (extrem) {% endif %}
- secondary: UV Index
- icon: mdi:sun-compass
- entity: sensor.home_uv_index_0d
- icon_color: >-
- {% if today_at("18:00") > now() %}
- {% set uv = states('sensor.home_uv_index_0d') | int %} {%
- else %}
- {% set uv = states('sensor.home_uv_index_1d') | int%} {%
- endif %}
- {% if uv < 3 %} green
- {% elif uv < 6 %} yellow
- {% elif uv < 8 %} orange
- {% elif uv < 11 %} red
- {% else %} lila
- {% endif %}
- tap_action:
- action: more-info
- - square: false
- type: grid
- columns: 4
- cards:
- - type: custom:mushroom-template-card
- primary: >-
- {{states('sensor.room_average_temp_clim_system_1_bt50_30117')
- | round(1)}} °C
- secondary: Wohnen
- icon: hue:room-living
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.room_average_temp_clim_system_1_bt50_30117
- icon_color: light-blue
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.temperatur_htr_temperatur_3'') | round(1)}} °C'
- secondary: HTR
- icon: mdi:washing-machine
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.temperatur_htr_temperatur_3
- icon_color: cyan
- - type: custom:mushroom-template-card
- primary: >-
- {{states('sensor.temperatur_abstellraum_temperatur_2') |
- round(1)}} °C
- secondary: Abstell
- icon: mdi:bottle-wine-outline
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.temperatur_abstellraum_temperatur_2
- icon_color: brown
- - type: custom:mushroom-template-card
- primary: >-
- {{states('sensor.temperatur_schlafen_temperatur') | round(1)}}
- °C
- secondary: Schlafen
- icon: hue:room-bedroom
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.temperatur_schlafen_temperatur
- icon_color: pink
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.temperatur_buro_temperatur'') | round(1)}} °C'
- secondary: Büro
- icon: mdi:office-building
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.temperatur_buro_temperatur
- icon_color: yellow
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.temperatur_bad_temperatur'') | round(1)}} °C'
- secondary: Bad
- icon: mdi:bathtub
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.temperatur_bad_temperatur
- icon_color: green
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.temperatur_emil_temperatur'') | round(1)}} °C'
- secondary: Emil
- icon: mdi:baby
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.temperatur_emil_temperatur
- icon_color: teal
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.temperatur_sport_temperatur'') | round(1)}} °C'
- secondary: Sport
- icon: mdi:dumbbell
- layout: vertical
- tap_action:
- action: more-info
- entity: sensor.temperatur_sport_temperatur
- icon_color: grey
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: >-
- {{states('sensor.current_outdoor_temperature_bt1_30002') |
- round(1)}} °C
- secondary: Draußen
- icon: hue:outdoor-motion-sensor-temperature
- layout: horizontal
- tap_action:
- action: more-info
- entity: sensor.current_outdoor_temperature_bt1_30002
- icon_color: white
- - type: custom:mushroom-template-card
- primary: '{{states(''sensor.home_realfeel_temperature'') | round(1)}} °C'
- secondary: Gefühlt
- icon: hue:room-outdoors
- icon_color: light-green
- layout: horizontal
- tap_action:
- action: more-info
- entity: sensor.home_realfeel_temperature
- - type: vertical-stack
- cards:
- - type: custom:mushroom-title-card
- title: Lüftung
- title_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/temperature
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: Stoßlüften
- icon: mdi:wind-power
- icon_color: >-
- {%if states('input_boolean.gedachtnis_automatisches_luften')
- == 'on' %} blue {% else %} grey {% endif %}
- layout: vertical
- tap_action:
- action: call-service
- service: script.luften
- target: {}
- entity: input_boolean.gedachtnis_automatisches_luften
- - type: custom:mushroom-template-card
- icon: mdi:air-conditioner
- primary: Automatik
- layout: vertical
- entity: input_boolean.gedachtnis_luftung
- tap_action:
- action: toggle
- icon_color: |-
- {% if states('input_boolean.gedachtnis_luftung') == 'on'
- %} blue {% else %} grey {% endif %}
- - type: custom:mushroom-template-card
- icon: >
- {% set state = states.sensor.kwl_lueftungsstufe.state %} {% if
- state == '0' %} mdi:numeric-0-circle {% elif state == '1' %}
- mdi:numeric-1-circle {% elif state == '2' %}
- mdi:numeric-2-circle {% elif state == '3' %}
- mdi:numeric-3-circle {% elif state == '4' %}
- mdi:numeric-4-circle {% else %} mdi:numeric-off {% endif %}
- fill_container: false
- layout: vertical
- primary: >-
- {% set mapper = { '0' : 'Aus', '1' : 'Feuchteschutz', '2'
- : 'Reduziert', '3' : 'Nenn', '4' : 'Intensiv'} %} {% set
- state = states.sensor.kwl_lueftungsstufe.state %} {{
- mapper[state] if state in mapper else 'Unknown' }}
- icon_color: >
- {% set state = states.sensor.kwl_lueftungsstufe.state %} {% if
- state == '0' %} magenta {% elif state == '1' %} cyan {% elif
- state == '2' %} green {% elif state == '3' %} yellow {% elif
- state == '4' %} red {% else %} white {% endif %}
- entity: sensor.kwl_lueftungsstufe
- tap_action:
- action: more-info
- - type: custom:mushroom-title-card
- title: Heizung
- title_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/heat
- - type: horizontal-stack
- cards:
- - type: conditional
- conditions:
- - condition: state
- entity: select.hot_water_demand_mode_40057
- state: SMALL
- card:
- type: custom:mushroom-template-card
- primary: >-
- {{states('sensor.hot_water_charging_bt6_30010')|int|round(0)}}°C
- secondary: Charging
- icon: mdi:water-thermometer
- layout: horizontal
- icon_color: >-
- {% if (states('sensor.hot_water_charging_bt6_30010')|int <
- 42) %}
- cyan
- {% elif (states('sensor.hot_water_charging_bt6_30010')|int <
- 45) %}
- yellow
- {% elif (states('sensor.hot_water_charging_bt6_30010')|int
- >= 45) %}
- red
- {% endif %}
- entity: sensor.hot_water_charging_bt6_30010
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - condition: state
- entity: select.hot_water_demand_mode_40057
- state: SMALL
- card:
- type: custom:mushroom-template-card
- primary: '{{states(''sensor.hot_water_top_bt7_30009'')|int|round(0)}}°C'
- secondary: Top
- layout: horizontal
- icon: mdi:water-thermometer
- icon_color: >-
- {% if (states('sensor.hot_water_top_bt7_30009')|int < 42) %}
- cyan
- {% elif (states('sensor.hot_water_top_bt7_30009')|int < 45)
- %}
- yellow
- {% elif (states('sensor.hot_water_top_bt7_30009')|int >= 45)
- %}
- red
- {% endif %}
- entity: sensor.hot_water_top_bt7_30009
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - condition: state
- entity: select.hot_water_demand_mode_40057
- state: MEDIUM
- card:
- type: custom:mushroom-template-card
- secondary: Charging
- primary: >-
- {{states('sensor.hot_water_charging_bt6_30010')|int|round(0)}}°C
- icon: mdi:water-thermometer
- layout: horizontal
- icon_color: >-
- {% if (states('sensor.hot_water_charging_bt6_30010')|int <
- 43) %}
- green
- {% elif (states('sensor.hot_water_charging_bt6_30010')|int <
- 47) %}
- yellow
- {% elif (states('sensor.hot_water_charging_bt6_30010')|int
- >= 47) %}
- red
- {% endif %}
- entity: sensor.hot_water_charging_bt6_30010
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - condition: state
- entity: select.hot_water_demand_mode_40057
- state: MEDIUM
- card:
- type: custom:mushroom-template-card
- secondary: Top
- primary: '{{states(''sensor.hot_water_top_bt7_30009'')|int|round(0)}}°C'
- icon: mdi:water-thermometer
- layout: horizontal
- icon_color: >-
- {% if (states('sensor.hot_water_top_bt7_30009')|float <
- 49.6) %}
- green
- {% elif (states('sensor.hot_water_top_bt7_30009')|float >
- 49.6) %}
- yellow
- {% elif (states('sensor.hot_water_top_bt7_30009')|float >=
- 51.7) %}
- red
- {% endif %}
- entity: sensor.hot_water_top_bt7_30009
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - condition: state
- entity: select.hot_water_demand_mode_40057
- state: SMART CONTROL
- card:
- type: custom:mushroom-template-card
- secondary: Charging
- primary: >-
- {{states('sensor.hot_water_charging_bt6_30010')|int|round(0)}}°C
- icon: mdi:water-thermometer
- layout: horizontal
- icon_color: >-
- {% if (states('sensor.hot_water_charging_bt6_30010')|int <
- 43) %}
- green
- {% elif (states('sensor.hot_water_charging_bt6_30010')|int <
- 47) %}
- yellow
- {% elif (states('sensor.hot_water_charging_bt6_30010')|int
- >= 47) %}
- red
- {% endif %}
- entity: sensor.hot_water_charging_bt6_30010
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - condition: state
- entity: select.hot_water_demand_mode_40057
- state: SMART CONTROL
- card:
- type: custom:mushroom-template-card
- secondary: Top
- primary: '{{states(''sensor.hot_water_top_bt7_30009'')|int|round(0)}}°C'
- icon: mdi:water-thermometer
- layout: horizontal
- icon_color: >-
- {% if (states('sensor.hot_water_top_bt7_30009')|float <
- 49.6) %}
- green
- {% elif (states('sensor.hot_water_top_bt7_30009')|float >
- 49.6) %}
- yellow
- {% elif (states('sensor.hot_water_top_bt7_30009')|float >=
- 51.7) %}
- red
- {% endif %}
- entity: sensor.hot_water_top_bt7_30009
- tap_action:
- action: more-info
- - type: custom:mushroom-template-card
- primary: >-
- {% set state=states('select.hot_water_demand_mode_40057') %}
- {% if state=='SMALL' %} niedrig {% elif state=='MEDIUM' %}
- mittel {% elif state=='LARGE' %} hoch {% elif state=='3.0' %}
- comfort? {% elif state=='SMART CONTROL' %} Smart Control {%
- else %} {{state}} - Keine Ahnung {% endif %}
- icon: mdi:water-boiler-alert
- secondary: Wasser
- tap_action:
- action: more-info
- entity: select.hot_water_demand_mode_40057
- layout: horizontal
- badge_icon: ''
- badge_color: ''
- icon_color: >-
- {% set state=states('select.hot_water_demand_mode_40057') %}
- {% if state=='SMALL' %} blue {% elif state=='MEDIUM' %} orange
- {% elif state=='2.0' %} red {% elif state=='LARGE' %} red {%
- elif state=='SMART CONTROL' %} cyan {% else %} black {% endif
- %}
- fill_container: true
- - type: custom:mushroom-title-card
- title: Kameras
- subtitle: |-
- {% set
- a=max(states('input_datetime.bewegung_eingang'),
- states('input_datetime.bewegung_eingang_fahrzeug'),
- states('input_datetime.bewegung_eingang_haustier'),
- states('input_datetime.bewegung_eingang_person'))
- %} {% set b=max(states('input_datetime.bewegung_gararage'),
- states('input_datetime.bewegung_gararage_fahrzeug'),
- states('input_datetime.bewegung_gararage_haustier'),
- states('input_datetime.bewegung_gararage_person'))
- %} {% set c=max(states('input_datetime.bewegung_seite'),
- states('input_datetime.bewegung_seite_fahrzeug'),
- states('input_datetime.bewegung_seite_haustier'),
- states('input_datetime.bewegung_seite_person')) %}
- {% set d=max(states('input_datetime.bewegung_garten'),
- states('input_datetime.bewegung_garten_fahrzeug'),
- states('input_datetime.bewegung_garten_haustier'),
- states('input_datetime.bewegung_garten_person')) %} {% if a > max(b,c,d)
- %}
- {% set w = 'am Eingang' %}{% endif %}
- {% if b > max(a,c,d) %}{% set w = 'an der Garage' %}{% endif %}
- {% if c > max(a,b,d) %}{% set w = 'an der Seite' %}{% endif %}
- {% if d > max(a,b,c) %}{% set w = 'im Garten' %}{% endif %}
- Letzte Bewegung vor {{ relative_time(max(a,b,c,d) | as_datetime)
- | replace("days", "Tagen") | replace("day", "Tag")
- | replace("hours", "Stunden") | replace("hour", "Stunde")
- | replace("minutes", "Minuten") | replace("minute", "Minute")
- | replace("seconds", "Sekunden") }} {{w}}
- title_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/security
- subtitle_tap_action:
- action: navigate
- navigation_path: /lovelace-huckingen/security
- - show_state: false
- show_name: true
- camera_view: live
- type: picture-entity
- entity: camera.doorbird_live
- camera_image: camera.doorbird_live
- name: Haustür
- - type: horizontal-stack
- cards:
- - show_state: false
- show_name: true
- camera_view: live
- type: picture-entity
- entity: camera.rlc_810a_eingang_main
- aspect_ratio: '4:3'
- name: Eingang
- - show_state: false
- show_name: true
- camera_view: live
- type: picture-entity
- entity: camera.rlc_810a_garage_main
- aspect_ratio: '4:3'
- name: Garage
- - type: horizontal-stack
- cards:
- - show_state: false
- show_name: true
- camera_view: live
- type: picture-entity
- entity: camera.rlc_810a_seite_main
- aspect_ratio: '4:3'
- name: Seite
- - show_state: false
- show_name: true
- camera_view: live
- type: picture-entity
- entity: camera.rlc_810a_garten_main
- aspect_ratio: '4:3'
- name: Garten
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement