From 25522a3af9d468374a5f74d3de843e607b7c5efe Mon Sep 17 00:00:00 2001 From: Florian Krebs Date: Sat, 2 May 2026 21:25:26 +0200 Subject: [PATCH] revert(dashboard-zuhause): restore original lovelace.lovelace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reset auf den Stand von main — User-Wunsch nach 'go back to original'. Alle Tab-Bauten und Layout-Versuche dieser Session sind im Git-Log sichtbar (commits 85280ef … b843e88), können bei Bedarf cherry-gepickt oder als Referenz genutzt werden. Helper-Migration (helpers/*.yaml) bleibt erhalten. --- .storage/lovelace.lovelace | 2461 +----------------------------------- 1 file changed, 1 insertion(+), 2460 deletions(-) diff --git a/.storage/lovelace.lovelace b/.storage/lovelace.lovelace index 585bceb..0546dfe 100644 --- a/.storage/lovelace.lovelace +++ b/.storage/lovelace.lovelace @@ -5,2465 +5,6 @@ "data": { "config": { "views": [ - { - "title": "Glance", - "path": "glance", - "icon": "mdi:view-dashboard", - "type": "sections", - "max_columns": 2, - "header": { - "card": { - "type": "custom:mushroom-title-card", - "title": "🏠 Zuhause", - "subtitle": "{{ now().strftime('%A, %d. %B') }}" - } - }, - "sections": [ - { - "type": "grid", - "column_span": 2, - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "person.zuhause", - "content_info": "name" - }, - { - "type": "entity", - "entity": "person.anne", - "content_info": "name" - }, - { - "type": "entity", - "entity": "person.karolina", - "content_info": "name" - }, - { - "type": "weather", - "entity": "weather.wetter", - "show_conditions": true, - "show_temperature": true - }, - { - "type": "entity", - "entity": "sun.sun" - } - ] - }, - { - "type": "custom:mushroom-template-card", - "primary": "Sicherheit", - "secondary": "{% set smoke = expand(states.binary_sensor) | selectattr('attributes.device_class','eq','smoke') | rejectattr('state','eq','unavailable') | list %}{% set smoke_on = smoke | selectattr('state','eq','on') | list | length %}{% set water = expand(states.binary_sensor) | selectattr('attributes.device_class','in',['moisture']) | rejectattr('state','eq','unavailable') | list %}{% set water_on = water | selectattr('state','eq','on') | list | length %}{{ smoke|length }}× Rauch · {{ water|length }}× Wasser{% if smoke_on > 0 %} · ⚠️ RAUCH!{% endif %}{% if water_on > 0 %} · ⚠️ WASSER!{% endif %}", - "icon": "mdi:shield-check", - "icon_color": "{% set smoke_on = expand(states.binary_sensor) | selectattr('attributes.device_class','eq','smoke') | selectattr('state','eq','on') | list | length %}{% set water_on = expand(states.binary_sensor) | selectattr('attributes.device_class','eq','moisture') | selectattr('state','eq','on') | list | length %}{% if smoke_on > 0 %}red{% elif water_on > 0 %}orange{% else %}green{% endif %}", - "fill_container": true, - "tap_action": { - "action": "navigate", - "navigation_path": "/dashboard-system/sicherheit" - } - } - ] - }, - { - "type": "grid", - "column_span": 2, - "cards": [ - { - "type": "custom:power-flow-card-plus", - "entities": { - "battery": { - "entity": "sensor.powerocean_hj37zdh5zg5w0109_batterieleistung", - "state_of_charge": "sensor.powerocean_hj37zdh5zg5w0109_ladezustand_der_batterie", - "invert_state": true, - "color_value": true, - "state_of_charge_unit": "%" - }, - "grid": { - "entity": { - "consumption": "sensor.powerocean_hj37zdh5zg5w0109_netz_zu_haus", - "production": "sensor.powerocean_hj37zdh5zg5w0109_solar_zu_netz" - }, - "color_value": true, - "display_state": "two_way" - }, - "solar": { - "entity": "sensor.powerocean_hj37zdh5zg5w0109_solarertrag_mppt", - "display_zero_state": true - }, - "home": { - "entity": "sensor.powerocean_hj37zdh5zg5w0109_hausverbrauch" - } - }, - "use_new_flow_rate_model": true, - "min_flow_rate": 0.75, - "max_flow_rate": 6, - "max_expected_power": 4000, - "kilo_threshold": 900, - "kilo_decimals": 1, - "base_decimals": 0, - "tap_action": { - "action": "navigate", - "navigation_path": "/dashboard-energie/strom" - } - } - ] - }, - { - "type": "grid", - "cards": [ - { - "type": "custom:mushroom-template-card", - "primary": "Heizung NIBE", - "secondary": "Vorlauf {{ states('sensor.nibe_s1255_6_e_em_3x400v_supply_line_bt2') | float(0) | round(1) }}°C · Außen {{ states('sensor.nibe_s1255_6_e_em_3x400v_current_outdoor_temperature_bt1') | float(0) | round(1) }}°C · WW {{ states('sensor.nibe_s1255_6_e_em_3x400v_hot_water_top_bt7') | float(0) | round(0) }}°C", - "icon": "mdi:heat-pump", - "icon_color": "{% set v = states('sensor.nibe_s1255_6_e_em_3x400v_supply_line_bt2') | float(0) %}{% if v > 40 %}red{% elif v > 30 %}orange{% else %}blue{% endif %}", - "fill_container": true, - "tap_action": { - "action": "navigate", - "navigation_path": "/lovelace/klima" - } - } - ] - }, - { - "type": "grid", - "cards": [ - { - "type": "custom:mushroom-template-card", - "primary": "Roborock Qrevo Curv", - "secondary": "{{ states('sensor.roborock_qrevo_curv_status') }} · 🔋 {{ states('sensor.roborock_qrevo_curv_batterie') }}% · {{ states('sensor.roborock_qrevo_curv_gesamtzahl_reinigungen') }} Rein.", - "icon": "mdi:robot-vacuum", - "icon_color": "{% set s = states('sensor.roborock_qrevo_curv_status') %}{% if s in ['cleaning','returning'] %}blue{% elif s == 'charging' %}green{% elif s == 'error' %}red{% else %}grey{% endif %}", - "fill_container": true, - "tap_action": { - "action": "navigate", - "navigation_path": "/lovelace/sauger" - } - } - ] - }, - { - "type": "grid", - "column_span": 2, - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-entity-card", - "entity": "input_button.nachtmodus", - "name": "Nachtmodus", - "icon": "mdi:weather-night", - "icon_color": "indigo", - "tap_action": { - "action": "toggle" - }, - "fill_container": true - }, - { - "type": "custom:mushroom-entity-card", - "entity": "input_boolean.geschirrspuler_uber_nacht", - "name": "Spüler Nacht", - "icon": "mdi:dishwasher", - "icon_color": "{% if is_state('input_boolean.geschirrspuler_uber_nacht','on') %}cyan{% else %}grey{% endif %}", - "tap_action": { - "action": "toggle" - }, - "fill_container": true - } - ] - } - ] - }, - { - "type": "grid", - "column_span": 2, - "cards": [ - { - "type": "custom:clock-weather-card", - "entity": "weather.wetter", - "show_humidity": true, - "hide_clock": true - }, - { - "type": "conditional", - "conditions": [ - { - "condition": "state", - "entity": "sensor.mitgliedsgemeinde_in_verwaltungsgemeinschaft_welden_aktuelle_warnstufe", - "state_not": "0" - } - ], - "card": { - "type": "markdown", - "content": "⚠️ **DWD-Warnung aktiv** — Details auf System-Dashboard" - } - }, - { - "event_grouping": true, - "drop_todayevents_from": "10:00:00", - "next_days": 14, - "pattern": [ - { - "icon": "mdi:flower", - "color": "lime", - "type": "organic", - "pattern": "Bio" - }, - { - "icon": "mdi:newspaper", - "color": "blue", - "type": "paper", - "pattern": "Altpapier" - }, - { - "icon": "mdi:recycle-variant", - "color": "amber", - "type": "recycle", - "pattern": "Gelber" - }, - { - "icon": "mdi:trash-can-outline", - "color": "grey", - "type": "waste", - "pattern": "Restmüll", - "label": "Restmüll Tonne" - } - ], - "day_style": "default", - "day_style_format": "yyyy.MM.dd", - "card_style": "card", - "alignment_style": "left", - "color_mode": "icon", - "items_per_row": 1, - "refresh_rate": 60, - "with_label": true, - "type": "custom:trash-card", - "entities": [ - "calendar.abfallkalender" - ] - } - ] - } - ] - }, - { - "title": "Räume", - "path": "raume", - "icon": "mdi:floor-plan", - "type": "sections", - "max_columns": 2, - "sections": [ - { - "type": "grid", - "title": "Wohnzimmer", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "sensor.wohnzimmer_rauchmelder_temperature", - "icon": "mdi:thermometer", - "content_info": "state" - }, - { - "type": "entity", - "entity": "sensor.wohnzimmer_rauchmelder_humidity", - "icon": "mdi:water-percent", - "content_info": "state" - }, - { - "type": "entity", - "entity": "binary_sensor.wohnzimmer_rauchmelder_smoke", - "icon": "mdi:smoke-detector", - "content_info": "name" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "wohnzimmer", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-cover-card", - "entity": "cover.wohnzimmer_rolladen", - "show_buttons_control": true, - "show_position_control": true - } - ] - }, - { - "type": "grid", - "title": "Küche", - "cards": [ - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "kuche", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-cover-card", - "entity": "cover.kuche_rolladen", - "show_buttons_control": true, - "show_position_control": true - } - ] - }, - { - "type": "grid", - "title": "Esszimmer", - "cards": [ - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "esszimmer", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-cover-card", - "entity": "cover.esszimmer_rolladen_terrasse", - "show_buttons_control": true, - "fill_container": true - }, - { - "type": "custom:mushroom-cover-card", - "entity": "cover.esszimmer_rollladen_fenster", - "show_buttons_control": true, - "fill_container": true - } - ] - } - ] - }, - { - "type": "grid", - "title": "Schlafzimmer", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "sensor.schlafzimmer_rauchmelder_temperature", - "icon": "mdi:thermometer" - }, - { - "type": "entity", - "entity": "sensor.schlafzimmer_rauchmelder_humidity", - "icon": "mdi:water-percent" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "schlafzimmer", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-cover-card", - "entity": "cover.schlafzimmer_rolladen", - "show_buttons_control": true, - "show_position_control": true - } - ] - }, - { - "type": "grid", - "title": "Kinderzimmer", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "sensor.kinderzimmer_rauchmelder_temperature", - "icon": "mdi:thermometer" - }, - { - "type": "entity", - "entity": "sensor.kinderzimmer_rauchmelder_humidity", - "icon": "mdi:water-percent" - }, - { - "type": "entity", - "entity": "binary_sensor.kinderzimmer_bewegungsmelder_occupancy", - "icon": "mdi:motion-sensor" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "kinderzimmer", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-cover-card", - "entity": "cover.kinderzimmer_rollladen", - "show_buttons_control": true, - "show_position_control": true - } - ] - }, - { - "type": "grid", - "title": "Badezimmer", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "binary_sensor.badezimmer_bewegungsmelder_occupancy", - "icon": "mdi:motion-sensor" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "badezimmer", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-entity-card", - "entity": "switch.badezimmer_handtuchheizung", - "name": "Handtuchheizung", - "icon": "mdi:radiator", - "icon_color": "{% if is_state('switch.badezimmer_handtuchheizung','on') %}red{% else %}grey{% endif %}", - "tap_action": { - "action": "toggle" - } - } - ] - }, - { - "type": "grid", - "title": "WC", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "binary_sensor.wc_wassermelder_water_leak", - "icon": "mdi:water-alert" - }, - { - "type": "entity", - "entity": "binary_sensor.wc_bewegungsmelder_occupancy", - "icon": "mdi:motion-sensor" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "wc", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - } - ] - }, - { - "type": "grid", - "title": "Büro", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "sensor.buro_rauchmelder_temperature", - "icon": "mdi:thermometer" - }, - { - "type": "entity", - "entity": "sensor.buro_rauchmelder_humidity", - "icon": "mdi:water-percent" - }, - { - "type": "entity", - "entity": "binary_sensor.buro_anwesenheitssensor_raum", - "icon": "mdi:motion-sensor" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "buro", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-cover-card", - "entity": "cover.buro_rollladen", - "show_buttons_control": true, - "show_position_control": true - } - ] - }, - { - "type": "grid", - "title": "Gästezimmer", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "sensor.gastezimmer_rauchmelder_temperature", - "icon": "mdi:thermometer" - }, - { - "type": "entity", - "entity": "sensor.gastezimmer_rauchmelder_humidity", - "icon": "mdi:water-percent" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "gastezimmer", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-cover-card", - "entity": "cover.gastezimmer_rollladen", - "show_buttons_control": true, - "show_position_control": true - } - ] - }, - { - "type": "grid", - "title": "Garderobe", - "cards": [ - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "gaderobe", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - }, - { - "type": "custom:mushroom-entity-card", - "entity": "input_boolean.garderobe_helper", - "name": "Garderobe-Helper", - "tap_action": { - "action": "toggle" - } - } - ] - }, - { - "type": "grid", - "title": "Speis", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "binary_sensor.speis_bewegungsmelder_occupancy", - "icon": "mdi:motion-sensor" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "speis", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - } - ] - }, - { - "type": "grid", - "title": "Technikraum", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "entity", - "entity": "sensor.technikraum_rauchmelder_temperature", - "icon": "mdi:thermometer" - }, - { - "type": "entity", - "entity": "sensor.technikraum_rauchmelder_humidity", - "icon": "mdi:water-percent" - }, - { - "type": "entity", - "entity": "binary_sensor.technikraum_wassermelder_water_leak", - "icon": "mdi:water-alert" - }, - { - "type": "entity", - "entity": "binary_sensor.technikraum_bewegungsmelder_occupancy", - "icon": "mdi:motion-sensor" - } - ] - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "technikraum", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - } - ] - }, - { - "type": "grid", - "title": "Gang", - "cards": [ - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "gang", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - } - ] - }, - { - "type": "grid", - "title": "Außenbereiche", - "cards": [ - { - "type": "custom:mushroom-title-card", - "subtitle": "Lichter aller Außenbereiche" - }, - { - "type": "custom:auto-entities", - "card": { - "type": "grid", - "columns": 2, - "square": false - }, - "card_param": "cards", - "filter": { - "include": [ - { - "domain": "light", - "area": "terrasse", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - }, - { - "domain": "light", - "area": "garage", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - }, - { - "domain": "light", - "area": "eingang", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - }, - { - "domain": "light", - "area": "grillplatz", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - }, - { - "domain": "light", - "area": "ruheplatz", - "options": { - "type": "custom:mushroom-light-card", - "fill_container": true - } - } - ] - }, - "sort": { - "method": "friendly_name" - } - } - ] - } - ] - }, - { - "title": "Klima", - "path": "klima", - "icon": "mdi:thermometer", - "type": "sections", - "max_columns": 2, - "sections": [ - { - "type": "grid", - "title": "Heizung NIBE — Status", - "cards": [ - { - "type": "custom:mushroom-climate-card", - "entity": "climate.climate_system_s1", - "show_temperature_control": true, - "hvac_modes": [ - "auto", - "heat", - "cool", - "off" - ], - "fill_container": true - }, - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:home-thermometer", - "icon_color": "blue", - "content": "Vorlauf {{ states('sensor.nibe_s1255_6_e_em_3x400v_supply_line_bt2') | float(0) | round(1) }}°C" - }, - { - "type": "template", - "icon": "mdi:thermometer-water", - "icon_color": "indigo", - "content": "Rücklauf {{ states('sensor.nibe_s1255_6_e_em_3x400v_return_line_bt3') | float(0) | round(1) }}°C" - }, - { - "type": "template", - "icon": "mdi:weather-sunny", - "icon_color": "amber", - "content": "Außen {{ states('sensor.nibe_s1255_6_e_em_3x400v_current_outdoor_temperature_bt1') | float(0) | round(1) }}°C" - }, - { - "type": "template", - "icon": "mdi:water-thermometer", - "icon_color": "red", - "content": "WW {{ states('sensor.nibe_s1255_6_e_em_3x400v_hot_water_top_bt7') | float(0) | round(0) }}°C" - } - ] - } - ] - }, - { - "type": "grid", - "title": "Heizung NIBE — Steuerung", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-number-card", - "entity": "number.nibe_s1255_6_e_em_3x400v_raumfuhler_sollwert_klimatisierungssyste", - "name": "Raum-Sollwert", - "icon": "mdi:thermostat", - "fill_container": true - }, - { - "type": "custom:mushroom-select-card", - "entity": "select.nibe_s1255_6_e_em_3x400v_hot_water_amount", - "name": "WW-Bedarf", - "icon": "mdi:water-boiler", - "fill_container": true - } - ] - }, - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-select-card", - "entity": "select.nibe_s1255_6_e_em_3x400v_ventilation_mode", - "name": "Lüftung", - "icon": "mdi:fan", - "fill_container": true - }, - { - "type": "custom:mushroom-select-card", - "entity": "select.nibe_s1255_6_e_em_3x400v_hot_water_boost", - "name": "WW-Boost", - "icon": "mdi:fire", - "fill_container": true - } - ] - } - ] - }, - { - "type": "grid", - "title": "Whirlpool", - "cards": [ - { - "type": "custom:mushroom-climate-card", - "entity": "climate.spa_thermostat", - "show_temperature_control": true, - "fill_container": true, - "tap_action": { - "action": "navigate", - "navigation_path": "/dashboard-spa" - } - } - ] - }, - { - "type": "grid", - "title": "Befeuchter", - "cards": [ - { - "type": "custom:mushroom-humidifier-card", - "entity": "humidifier.evaporative_humidifier_05de", - "show_target_humidity_control": true, - "fill_container": true - }, - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:water", - "icon_color": "blue", - "content": "Wasser: {{ states('sensor.evaporative_humidifier_05de_wasserstand') }}" - } - ] - } - ] - }, - { - "type": "grid", - "column_span": 2, - "title": "Luftqualität pro Raum", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:molecule-co2", - "icon_color": "{% set v = states('sensor.buro_rauchmelder_eco2') | float(0) %}{% if v > 1500 %}red{% elif v > 1000 %}orange{% else %}green{% endif %}", - "content": "Büro {{ states('sensor.buro_rauchmelder_eco2') }}" - }, - { - "type": "template", - "icon": "mdi:molecule-co2", - "icon_color": "{% set v = states('sensor.kinderzimmer_rauchmelder_eco2') | float(0) %}{% if v > 1500 %}red{% elif v > 1000 %}orange{% else %}green{% endif %}", - "content": "Kinderz. {{ states('sensor.kinderzimmer_rauchmelder_eco2') }}" - }, - { - "type": "template", - "icon": "mdi:molecule-co2", - "icon_color": "{% set v = states('sensor.schlafzimmer_rauchmelder_eco2') | float(0) %}{% if v > 1500 %}red{% elif v > 1000 %}orange{% else %}green{% endif %}", - "content": "Schlafz. {{ states('sensor.schlafzimmer_rauchmelder_eco2') }}" - }, - { - "type": "template", - "icon": "mdi:molecule-co2", - "icon_color": "{% set v = states('sensor.gastezimmer_rauchmelder_eco2') | float(0) %}{% if v > 1500 %}red{% elif v > 1000 %}orange{% else %}green{% endif %}", - "content": "Gäst. {{ states('sensor.gastezimmer_rauchmelder_eco2') }}" - }, - { - "type": "template", - "icon": "mdi:molecule-co2", - "icon_color": "{% set v = states('sensor.technikraum_rauchmelder_eco2') | float(0) %}{% if v > 1500 %}red{% elif v > 1000 %}orange{% else %}green{% endif %}", - "content": "Technik {{ states('sensor.technikraum_rauchmelder_eco2') }}" - }, - { - "type": "template", - "icon": "mdi:molecule-co2", - "icon_color": "{% set v = states('sensor.wohnbereich_rauchmelder_eco2') | float(0) %}{% if v > 1500 %}red{% elif v > 1000 %}orange{% else %}green{% endif %}", - "content": "Wohnz. {{ states('sensor.wohnbereich_rauchmelder_eco2') }}" - } - ] - }, - { - "type": "custom:apexcharts-card", - "header": { - "show": true, - "title": "eCO₂ 24h pro Raum", - "show_states": false - }, - "graph_span": "24h", - "yaxis": [ - { - "min": 400, - "max": 2000, - "decimals": 0, - "apex_config": { - "tickAmount": 4 - } - } - ], - "apex_config": { - "annotations": { - "yaxis": [ - { - "y": 1500, - "borderColor": "#ff6b6b", - "label": { - "text": "Hoch (1500)", - "style": { - "color": "#fff", - "background": "#ff6b6b" - } - } - }, - { - "y": 1000, - "borderColor": "#ffb84d", - "label": { - "text": "Mittel (1000)", - "style": { - "color": "#000", - "background": "#ffb84d" - } - } - } - ] - } - }, - "series": [ - { - "entity": "sensor.buro_rauchmelder_eco2", - "name": "Büro", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - }, - { - "entity": "sensor.kinderzimmer_rauchmelder_eco2", - "name": "Kinder", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - }, - { - "entity": "sensor.schlafzimmer_rauchmelder_eco2", - "name": "Schlaf", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - }, - { - "entity": "sensor.gastezimmer_rauchmelder_eco2", - "name": "Gäste", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - }, - { - "entity": "sensor.technikraum_rauchmelder_eco2", - "name": "Technik", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - }, - { - "entity": "sensor.wohnbereich_rauchmelder_eco2", - "name": "Wohnz.", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - } - ] - } - ] - }, - { - "type": "grid", - "column_span": 2, - "title": "Temperatur-Verlauf 24h", - "cards": [ - { - "type": "custom:apexcharts-card", - "header": { - "show": true, - "title": "Temperatur pro Raum", - "show_states": false - }, - "graph_span": "24h", - "yaxis": [ - { - "decimals": 1, - "apex_config": { - "tickAmount": 5 - } - } - ], - "series": [ - { - "entity": "sensor.wohnzimmer_rauchmelder_temperature", - "name": "Wohnzimmer", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "15m" - } - }, - { - "entity": "sensor.schlafzimmer_rauchmelder_temperature", - "name": "Schlafzimmer", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "15m" - } - }, - { - "entity": "sensor.kinderzimmer_rauchmelder_temperature", - "name": "Kinderzimmer", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "15m" - } - }, - { - "entity": "sensor.buro_rauchmelder_temperature", - "name": "Büro", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "15m" - } - }, - { - "entity": "sensor.gastezimmer_rauchmelder_temperature", - "name": "Gästezimmer", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "15m" - } - }, - { - "entity": "sensor.technikraum_rauchmelder_temperature", - "name": "Technikraum", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "15m" - } - } - ] - } - ] - } - ] - }, - { - "title": "Whirlpool", - "path": "whirlpool", - "icon": "mdi:hot-tub", - "type": "sections", - "max_columns": 2, - "sections": [ - { - "type": "grid", - "title": "Klima & Status", - "cards": [ - { - "type": "custom:mushroom-climate-card", - "entity": "climate.spa_thermostat", - "show_temperature_control": true, - "fill_container": true - }, - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:fire", - "icon_color": "{% if is_state('sensor.spa_heater','ON') %}red{% else %}grey{% endif %}", - "content": "Heater {{ states('sensor.spa_heater') }}" - }, - { - "type": "template", - "icon": "mdi:pump", - "icon_color": "{% if is_state('sensor.spa_circulation_pump','HIGH') %}blue{% elif is_state('sensor.spa_circulation_pump','LOW') %}cyan{% else %}grey{% endif %}", - "content": "Umwälz {{ states('sensor.spa_circulation_pump') }}" - }, - { - "type": "template", - "icon": "mdi:filter", - "icon_color": "{% if is_state('sensor.spa_filter_1','ON') %}green{% else %}grey{% endif %}", - "content": "Filter1 {{ states('sensor.spa_filter_1') }}" - }, - { - "type": "template", - "icon": "mdi:filter-outline", - "icon_color": "{% if is_state('sensor.spa_filter_2','ON') %}green{% else %}grey{% endif %}", - "content": "Filter2 {{ states('sensor.spa_filter_2') }}" - }, - { - "type": "template", - "icon": "mdi:flash", - "icon_color": "{% if is_state('sensor.spa_ozone','ON') %}cyan{% else %}grey{% endif %}", - "content": "Ozon" - }, - { - "type": "template", - "icon": "mdi:trending-up", - "icon_color": "amber", - "content": "{{ states('sensor.whirlpool_heizrate') | float(0) | round(2) }} °C/h" - } - ] - } - ] - }, - { - "type": "grid", - "title": "Wasserchemie (Ondilo ICO)", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:ph", - "icon_color": "{% set v = states('sensor.whirlpool_ph') | float(0) %}{% if v < 6.8 or v > 7.8 %}red{% elif v < 7.0 or v > 7.6 %}orange{% else %}green{% endif %}", - "content": "pH {{ states('sensor.whirlpool_ph') }}" - }, - { - "type": "template", - "icon": "mdi:flash-triangle", - "icon_color": "{% set v = states('sensor.whirlpool_oxydo_reduktionspotenzial') | float(0) %}{% if v < 500 %}red{% elif v < 600 %}orange{% elif v <= 800 %}green{% else %}orange{% endif %}", - "content": "ORP {{ states('sensor.whirlpool_oxydo_reduktionspotenzial') }} mV" - }, - { - "type": "template", - "icon": "mdi:thermometer-water", - "icon_color": "blue", - "content": "{{ states('sensor.whirlpool_temperatur') }} °C" - }, - { - "type": "template", - "icon": "mdi:battery", - "icon_color": "{% set v = states('sensor.whirlpool_batterie') | float(0) %}{% if v < 20 %}red{% elif v < 40 %}orange{% else %}green{% endif %}", - "content": "{{ states('sensor.whirlpool_batterie') }}%" - } - ] - }, - { - "type": "custom:apexcharts-card", - "header": { - "show": true, - "title": "pH (Ideal: 7.0–7.6)", - "show_states": true - }, - "graph_span": "24h", - "yaxis": [ - { - "min": 6, - "max": 8, - "decimals": 2, - "apex_config": { - "tickAmount": 4 - } - } - ], - "apex_config": { - "annotations": { - "yaxis": [ - { - "y": 7.0, - "y2": 7.6, - "borderColor": "#00e396", - "fillColor": "#00e396", - "opacity": 0.15, - "label": { - "text": "Ideal", - "style": { - "color": "#fff", - "background": "#00e396" - } - } - } - ] - } - }, - "series": [ - { - "entity": "sensor.whirlpool_ph", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - } - ] - }, - { - "type": "custom:apexcharts-card", - "header": { - "show": true, - "title": "ORP (Ideal: 600–800 mV)", - "show_states": true - }, - "graph_span": "24h", - "yaxis": [ - { - "min": 0, - "max": 1000, - "decimals": 0, - "apex_config": { - "tickAmount": 5 - } - } - ], - "apex_config": { - "annotations": { - "yaxis": [ - { - "y": 600, - "y2": 800, - "borderColor": "#00e396", - "fillColor": "#00e396", - "opacity": 0.15, - "label": { - "text": "Ideal", - "style": { - "color": "#fff", - "background": "#00e396" - } - } - } - ] - } - }, - "series": [ - { - "entity": "sensor.whirlpool_oxydo_reduktionspotenzial", - "type": "line", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "10m" - } - } - ] - } - ], - "column_span": 2 - }, - { - "type": "grid", - "title": "Steuerung", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-entity-card", - "entity": "switch.whirlpool", - "name": "Master", - "icon": "mdi:hot-tub", - "icon_color": "{% if is_state('switch.whirlpool','on') %}cyan{% else %}grey{% endif %}", - "tap_action": { - "action": "toggle" - }, - "fill_container": true - }, - { - "type": "custom:mushroom-entity-card", - "entity": "switch.spa_pump", - "name": "Düsen", - "icon": "mdi:fan", - "icon_color": "{% if is_state('switch.spa_pump','on') %}blue{% else %}grey{% endif %}", - "tap_action": { - "action": "toggle" - }, - "fill_container": true - }, - { - "type": "custom:mushroom-entity-card", - "entity": "switch.spa_light", - "name": "Licht", - "icon": "mdi:lightbulb", - "icon_color": "{% if is_state('switch.spa_light','on') %}amber{% else %}grey{% endif %}", - "tap_action": { - "action": "toggle" - }, - "fill_container": true - } - ] - }, - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-select-card", - "entity": "select.spa_heater_mode", - "name": "Heizmodus", - "icon": "mdi:fire", - "fill_container": true - }, - { - "type": "custom:mushroom-select-card", - "entity": "select.spa_temperature_range", - "name": "Temp-Bereich", - "icon": "mdi:thermometer-lines", - "fill_container": true - } - ] - }, - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-select-card", - "entity": "select.spa_filter_time_1", - "name": "Filter 1 Start", - "icon": "mdi:filter", - "fill_container": true - }, - { - "type": "custom:mushroom-select-card", - "entity": "select.spa_filter_duration_1", - "name": "Filter 1 Dauer", - "icon": "mdi:timer-sand", - "fill_container": true - } - ] - }, - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-select-card", - "entity": "select.spa_filter_time_2", - "name": "Filter 2 Start", - "icon": "mdi:filter-outline", - "fill_container": true - }, - { - "type": "custom:mushroom-select-card", - "entity": "select.spa_filter_duration_2", - "name": "Filter 2 Dauer", - "icon": "mdi:timer-sand", - "fill_container": true - } - ] - }, - { - "type": "custom:mushroom-entity-card", - "entity": "switch.whirlpool_filterzyklus_2_aktivieren", - "name": "Filterzyklus 2 aktiv?", - "tap_action": { - "action": "toggle" - } - } - ] - }, - { - "type": "grid", - "title": "Energie", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:flash", - "icon_color": "amber", - "content": "{{ states('sensor.whirlpool_leistung') | float(0) | round(0) }} W" - }, - { - "type": "template", - "icon": "mdi:counter", - "icon_color": "purple", - "content": "{{ states('sensor.whirlpool_energie') | float(0) | round(0) }} kWh ges." - }, - { - "type": "template", - "icon": "mdi:fire", - "icon_color": "red", - "content": "{{ states('sensor.spa_heater_energy') | float(0) | round(0) }} kWh Heizer" - } - ] - }, - { - "type": "custom:apexcharts-card", - "header": { - "show": true, - "title": "Leistung 24h", - "show_states": true - }, - "graph_span": "24h", - "yaxis": [ - { - "min": 0, - "decimals": 0, - "apex_config": { - "tickAmount": 5 - } - } - ], - "series": [ - { - "entity": "sensor.whirlpool_leistung", - "type": "area", - "stroke_width": 2, - "group_by": { - "func": "avg", - "duration": "5m" - } - } - ] - } - ], - "column_span": 2 - }, - { - "type": "grid", - "title": "Pflege & Wartung", - "cards": [ - { - "type": "custom:mushroom-template-card", - "primary": "Letzte Wasserpflege", - "secondary": "{% set d = states('input_datetime.whirlpool_letzte_wasserpflege') %}{% set days = (now() - strptime(d,'%Y-%m-%d') | as_local).days %}vor {{ days }} Tagen ({{ d }})", - "icon": "mdi:water-pump", - "icon_color": "{% set d = states('input_datetime.whirlpool_letzte_wasserpflege') %}{% set days = (now() - strptime(d,'%Y-%m-%d') | as_local).days %}{% if days > 7 %}red{% elif days > 5 %}orange{% else %}green{% endif %}", - "tap_action": { - "action": "more-info", - "entity": "input_datetime.whirlpool_letzte_wasserpflege" - } - }, - { - "type": "custom:mushroom-template-card", - "primary": "Letzter Kartuschenwechsel", - "secondary": "{% set d = states('input_datetime.whirlpool_letzter_kartuschenwechsel') %}{% set days = (now() - strptime(d,'%Y-%m-%d') | as_local).days %}vor {{ days }} Tagen ({{ d }})", - "icon": "mdi:filter", - "icon_color": "{% set d = states('input_datetime.whirlpool_letzter_kartuschenwechsel') %}{% set days = (now() - strptime(d,'%Y-%m-%d') | as_local).days %}{% if days > 30 %}red{% elif days > 25 %}orange{% else %}green{% endif %}", - "tap_action": { - "action": "more-info", - "entity": "input_datetime.whirlpool_letzter_kartuschenwechsel" - } - }, - { - "type": "custom:mushroom-template-card", - "primary": "Letzter Wasserwechsel", - "secondary": "{% set d = states('input_datetime.whirlpool_letzter_wasserwechsel') %}{% set days = (now() - strptime(d,'%Y-%m-%d') | as_local).days %}vor {{ days }} Tagen ({{ d }})", - "icon": "mdi:waves", - "icon_color": "{% set d = states('input_datetime.whirlpool_letzter_wasserwechsel') %}{% set days = (now() - strptime(d,'%Y-%m-%d') | as_local).days %}{% if days > 90 %}red{% elif days > 75 %}orange{% else %}green{% endif %}", - "tap_action": { - "action": "more-info", - "entity": "input_datetime.whirlpool_letzter_wasserwechsel" - } - }, - { - "type": "conditional", - "conditions": [ - { - "condition": "state", - "entity": "sensor.spa_fault_message", - "state_not": "" - } - ], - "card": { - "type": "custom:mushroom-template-card", - "primary": "⚠️ Störung", - "secondary": "{{ states('sensor.spa_fault_message') }}", - "icon": "mdi:alert", - "icon_color": "red", - "fill_container": true - } - } - ] - } - ] - }, - { - "title": "Sauger", - "path": "sauger", - "icon": "mdi:robot-vacuum", - "type": "sections", - "max_columns": 1, - "sections": [ - { - "type": "grid", - "title": "Status & Steuerung", - "cards": [ - { - "type": "custom:mushroom-vacuum-card", - "entity": "vacuum.roborock_qrevo_curv", - "icon_animation": true, - "commands": [ - "start_pause", - "stop", - "return_home", - "locate" - ], - "fill_container": true - }, - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:battery", - "icon_color": "{% set v = states('sensor.roborock_qrevo_curv_batterie') | float(0) %}{% if v < 20 %}red{% elif v < 50 %}orange{% else %}green{% endif %}", - "content": "{{ states('sensor.roborock_qrevo_curv_batterie') }}%" - }, - { - "type": "template", - "icon": "mdi:robot-vacuum-variant", - "icon_color": "{% set s = states('sensor.roborock_qrevo_curv_status') %}{% if s == 'cleaning' or s == 'returning' %}blue{% elif s == 'charging' %}green{% elif s == 'error' %}red{% else %}grey{% endif %}", - "content": "{{ states('sensor.roborock_qrevo_curv_status') }}" - }, - { - "type": "template", - "icon": "mdi:water", - "icon_color": "{% if is_state('binary_sensor.roborock_qrevo_curv_wasserkasten_angebracht','on') %}cyan{% else %}grey{% endif %}", - "content": "Wasserkasten" - }, - { - "type": "template", - "icon": "mdi:cushion", - "icon_color": "{% if is_state('binary_sensor.roborock_qrevo_curv_mopp_angebracht','on') %}cyan{% else %}grey{% endif %}", - "content": "Mopp" - }, - { - "type": "template", - "icon": "mdi:water-alert", - "icon_color": "{% if is_state('binary_sensor.roborock_qrevo_curv_wasserknappheit','on') %}red{% else %}green{% endif %}", - "content": "Wasser OK" - }, - { - "type": "template", - "icon": "mdi:alert-circle-outline", - "icon_color": "{% if states('sensor.roborock_qrevo_curv_staubsauger_fehler') != 'none' %}red{% else %}green{% endif %}", - "content": "{{ states('sensor.roborock_qrevo_curv_staubsauger_fehler') }}" - } - ] - } - ] - }, - { - "type": "grid", - "title": "Karte", - "cards": [ - { - "type": "custom:xiaomi-vacuum-map-card", - "vacuum_platform": "Roborock", - "title": "Roborock Qrevo Curv", - "entity": "vacuum.roborock_qrevo_curv", - "map_source": { - "camera": "image.roborock_qrevo_curv_zuhause_custom" - }, - "calibration_source": { - "camera": true - }, - "map_locked": true, - "map_modes": [ - { - "template": "vacuum_clean_segment", - "predefined_selections": [ - { - "id": "1", - "icon": { - "name": "mdi:broom", - "x": 25525, - "y": 30900 - }, - "label": { - "text": "Gang", - "x": 25525, - "y": 30900, - "offset_y": 35 - }, - "outline": [ - [ - 24400, - 28400 - ], - [ - 26650, - 28400 - ], - [ - 26650, - 33400 - ], - [ - 24400, - 33400 - ] - ] - }, - { - "id": "2", - "icon": { - "name": "mdi:broom", - "x": 23700, - "y": 22450 - }, - "label": { - "text": "WC", - "x": 23700, - "y": 22450, - "offset_y": 35 - }, - "outline": [ - [ - 22050, - 21700 - ], - [ - 25350, - 21700 - ], - [ - 25350, - 23200 - ], - [ - 22050, - 23200 - ] - ] - }, - { - "id": "3", - "icon": { - "name": "mdi:broom", - "x": 24300, - "y": 25700 - }, - "label": { - "text": "Speis", - "x": 24300, - "y": 25700, - "offset_y": 35 - }, - "outline": [ - [ - 23350, - 24800 - ], - [ - 25250, - 24800 - ], - [ - 25250, - 26600 - ], - [ - 23350, - 26600 - ] - ] - }, - { - "id": "4", - "icon": { - "name": "mdi:broom", - "x": 23300, - "y": 28675 - }, - "label": { - "text": "Büro", - "x": 23300, - "y": 28675, - "offset_y": 35 - }, - "outline": [ - [ - 21650, - 26950 - ], - [ - 24950, - 26950 - ], - [ - 24950, - 30400 - ], - [ - 21650, - 30400 - ] - ] - }, - { - "id": "5", - "icon": { - "name": "mdi:broom", - "x": 28525, - "y": 30125 - }, - "label": { - "text": "Gästezimmer", - "x": 28525, - "y": 30125, - "offset_y": 35 - }, - "outline": [ - [ - 26150, - 28450 - ], - [ - 30900, - 28450 - ], - [ - 30900, - 31800 - ], - [ - 26150, - 31800 - ] - ] - }, - { - "id": "6", - "icon": { - "name": "mdi:broom", - "x": 23425, - "y": 31200 - }, - "label": { - "text": "Badezimmer", - "x": 23425, - "y": 31200, - "offset_y": 35 - }, - "outline": [ - [ - 21650, - 29600 - ], - [ - 25200, - 29600 - ], - [ - 25200, - 32800 - ], - [ - 21650, - 32800 - ] - ] - }, - { - "id": "7", - "icon": { - "name": "mdi:broom", - "x": 28250, - "y": 33675 - }, - "label": { - "text": "Schlafzimmer", - "x": 28250, - "y": 33675, - "offset_y": 35 - }, - "outline": [ - [ - 26200, - 31600 - ], - [ - 30300, - 31600 - ], - [ - 30300, - 35750 - ], - [ - 26200, - 35750 - ] - ] - }, - { - "id": "8", - "icon": { - "name": "mdi:broom", - "x": 23950, - "y": 34400 - }, - "label": { - "text": "Kinderzimmer", - "x": 23950, - "y": 34400, - "offset_y": 35 - }, - "outline": [ - [ - 21700, - 33050 - ], - [ - 26200, - 33050 - ], - [ - 26200, - 35750 - ], - [ - 21700, - 35750 - ] - ] - }, - { - "id": "9", - "icon": { - "name": "mdi:broom", - "x": 23425, - "y": 20500 - }, - "label": { - "text": "Technikraum", - "x": 23425, - "y": 20500, - "offset_y": 35 - }, - "outline": [ - [ - 21950, - 19450 - ], - [ - 24900, - 19450 - ], - [ - 24900, - 21550 - ], - [ - 21950, - 21550 - ] - ] - }, - { - "id": "10", - "icon": { - "name": "mdi:broom", - "x": 22325, - "y": 23975 - }, - "label": { - "text": "Garderobe", - "x": 22325, - "y": 23975, - "offset_y": 35 - }, - "outline": [ - [ - 19850, - 21400 - ], - [ - 24800, - 21400 - ], - [ - 24800, - 26550 - ], - [ - 19850, - 26550 - ] - ] - }, - { - "id": "11", - "icon": { - "name": "mdi:broom", - "x": 28475, - "y": 26100 - }, - "label": { - "text": "Wohnzimmer", - "x": 28475, - "y": 26100, - "offset_y": 35 - }, - "outline": [ - [ - 24800, - 23400 - ], - [ - 32150, - 23400 - ], - [ - 32150, - 28800 - ], - [ - 24800, - 28800 - ] - ] - }, - { - "id": "12", - "icon": { - "name": "mdi:broom", - "x": 29700, - "y": 21400 - }, - "label": { - "text": "Esszimmer", - "x": 29700, - "y": 21400, - "offset_y": 35 - }, - "outline": [ - [ - 27950, - 19250 - ], - [ - 31450, - 19250 - ], - [ - 31450, - 23550 - ], - [ - 27950, - 23550 - ] - ] - }, - { - "id": "13", - "icon": { - "name": "mdi:broom", - "x": 31575, - "y": 33750 - }, - "label": { - "text": "Room 13", - "x": 31575, - "y": 33750, - "offset_y": 35 - }, - "outline": [ - [ - 30250, - 31750 - ], - [ - 32900, - 31750 - ], - [ - 32900, - 35750 - ], - [ - 30250, - 35750 - ] - ] - }, - { - "id": "14", - "icon": { - "name": "mdi:broom", - "x": 26750, - "y": 21275 - }, - "label": { - "text": "Küche", - "x": 26750, - "y": 21275, - "offset_y": 35 - }, - "outline": [ - [ - 24950, - 19100 - ], - [ - 28550, - 19100 - ], - [ - 28550, - 23450 - ], - [ - 24950, - 23450 - ] - ] - } - ] - }, - { - "template": "vacuum_goto" - } - ] - } - ] - }, - { - "type": "grid", - "title": "Verbrauchsmaterial", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-template-card", - "primary": "Hauptbürste", - "secondary": "{{ states('sensor.roborock_qrevo_curv_verbleibende_zeit_der_hauptburste') | float(0) | round(0) }} h", - "icon": "mdi:broom", - "icon_color": "{% set v = states('sensor.roborock_qrevo_curv_verbleibende_zeit_der_hauptburste') | float(0) %}{% if v < 50 %}red{% elif v < 100 %}orange{% else %}green{% endif %}", - "fill_container": true - }, - { - "type": "custom:mushroom-template-card", - "primary": "Seitenbürste", - "secondary": "{{ states('sensor.roborock_qrevo_curv_verbleibende_zeit_der_seitenburste') | float(0) | round(0) }} h", - "icon": "mdi:dots-circle", - "icon_color": "{% set v = states('sensor.roborock_qrevo_curv_verbleibende_zeit_der_seitenburste') | float(0) %}{% if v < 50 %}red{% elif v < 100 %}orange{% else %}green{% endif %}", - "fill_container": true - } - ] - }, - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-template-card", - "primary": "Filter", - "secondary": "{{ states('sensor.roborock_qrevo_curv_verbleibende_filterzeit') | float(0) | round(0) }} h", - "icon": "mdi:air-filter", - "icon_color": "{% set v = states('sensor.roborock_qrevo_curv_verbleibende_filterzeit') | float(0) %}{% if v < 30 %}red{% elif v < 60 %}orange{% else %}green{% endif %}", - "fill_container": true - }, - { - "type": "custom:mushroom-template-card", - "primary": "Sensoren", - "secondary": "{{ states('sensor.roborock_qrevo_curv_verbleibende_sensorzeit') | float(0) | round(1) }} h", - "icon": "mdi:eye", - "icon_color": "{% set v = states('sensor.roborock_qrevo_curv_verbleibende_sensorzeit') | float(0) %}{% if v < 5 %}red{% elif v < 15 %}orange{% else %}green{% endif %}", - "fill_container": true - } - ] - }, - { - "type": "custom:mushroom-template-card", - "primary": "Dock-Schmutzfänger", - "secondary": "{{ states('sensor.roborock_qrevo_curv_dock_schmutzfanger_verbleibend') }} %", - "icon": "mdi:trash-can", - "icon_color": "{% set v = states('sensor.roborock_qrevo_curv_dock_schmutzfanger_verbleibend') | float(0) %}{% if v < 20 %}red{% elif v < 50 %}orange{% else %}green{% endif %}", - "fill_container": true - } - ] - }, - { - "type": "grid", - "title": "Statistik", - "cards": [ - { - "type": "custom:mushroom-chips-card", - "alignment": "justify", - "chips": [ - { - "type": "template", - "icon": "mdi:counter", - "icon_color": "purple", - "content": "{{ states('sensor.roborock_qrevo_curv_gesamtzahl_reinigungen') }} ges." - }, - { - "type": "template", - "icon": "mdi:floor-plan", - "icon_color": "blue", - "content": "{{ states('sensor.roborock_qrevo_curv_gesamter_reinigungsbereich') | float(0) | round(0) }} m² ges." - }, - { - "type": "template", - "icon": "mdi:timer-outline", - "icon_color": "amber", - "content": "{{ states('sensor.roborock_qrevo_curv_gesamtreinigungszeit') | float(0) | round(0) }} h ges." - } - ] - }, - { - "type": "horizontal-stack", - "cards": [ - { - "type": "custom:mushroom-template-card", - "primary": "Letzte Reinigung", - "secondary": "{% set s = states('sensor.roborock_qrevo_curv_letzter_reinigungsbeginn') %}{% if s != 'unknown' %}{{ as_timestamp(s) | timestamp_custom('%d.%m. %H:%M') }}{% endif %}", - "icon": "mdi:clock-start", - "fill_container": true - }, - { - "type": "custom:mushroom-template-card", - "primary": "Bereich (letzt.)", - "secondary": "{{ states('sensor.roborock_qrevo_curv_reinigungsbereich') }} m² · {{ states('sensor.roborock_qrevo_curv_reinigungszeit') | float(0) | round(0) }} min", - "icon": "mdi:floor-plan", - "fill_container": true - } - ] - } - ] - } - ] - }, - { - "title": "Musik", - "path": "musik", - "icon": "mdi:music", - "type": "sections", - "max_columns": 1, - "sections": [ - { - "type": "grid", - "title": "Küche", - "cards": [ - { - "type": "custom:mass-player-card", - "entities": [ - "media_player.unnamed_room_2" - ], - "expressive_scheme": "vibrant", - "default_section": "music_player", - "queue": { - "show_album_covers": true, - "show_artist_names": true - }, - "media_browser": { - "default_section": "recommendations", - "recommendations": {} - } - } - ] - }, - { - "type": "grid", - "title": "Wohnzimmer Sonos System", - "cards": [ - { - "type": "custom:mass-player-card", - "entities": [ - "media_player.wohnzimmer_sonos_system" - ], - "expressive_scheme": "vibrant", - "default_section": "music_player", - "queue": { - "show_album_covers": true, - "show_artist_names": true - }, - "media_browser": { - "default_section": "recommendations", - "recommendations": {} - } - } - ] - } - ] - }, { "title": "Home", "type": "sections", @@ -3648,4 +1189,4 @@ ] } } -} +} \ No newline at end of file