diff --git a/lovelace/dashboard_status.yaml b/lovelace/dashboard_status.yaml index 01b3265..ec1f514 100644 --- a/lovelace/dashboard_status.yaml +++ b/lovelace/dashboard_status.yaml @@ -7,3 +7,6 @@ views: - !include views/ramen.yaml - !include views/alarm.yaml - !include views/batterijen.yaml + - !include views/hass.yaml + - !include views/borg.yaml + - !include views/internet.yaml diff --git a/lovelace/dashboard_systems.yaml b/lovelace/dashboard_systems.yaml deleted file mode 100644 index f6500f4..0000000 --- a/lovelace/dashboard_systems.yaml +++ /dev/null @@ -1,7 +0,0 @@ -swipe_nav: !include config/swipe_nav.yaml - -views: - - !include views/hass.yaml - - !include views/borg.yaml - - !include views/internet.yaml - - !include views/tado.yaml diff --git a/lovelace/views/borg.yaml b/lovelace/views/borg.yaml index d6358de..37e35fb 100644 --- a/lovelace/views/borg.yaml +++ b/lovelace/views/borg.yaml @@ -1,13 +1,42 @@ title: Borg backup path: borg -panel: false icon: mdi:cloud-upload -badges: [] -cards: - - type: entity - entity: input_text.borg +type: sections +max_columns: 4 +sections: + - type: custom:mushroom-chips-card + chips: + - type: template + tap_action: + action: navigate + navigation_path: /lovelace/welkom + icon: mdi:arrow-left-bold + content: Overzicht + layout_options: + grid_columns: full - - type: logbook - entities: - - input_text.borg - hours_to_show: 72 + - type: grid + column_span: 4 + cards: + - type: heading + heading: Borg backup + heading_style: title + icon: mdi:cloud-upload + - type: entity + entity: input_text.borg + name: Status + layout_options: + grid_columns: full + + - type: grid + column_span: 4 + cards: + - type: heading + heading: Log + heading_style: subtitle + - type: logbook + entities: + - input_text.borg + hours_to_show: 72 + layout_options: + grid_columns: full \ No newline at end of file diff --git a/lovelace/views/hass.yaml b/lovelace/views/hass.yaml index 0c3274e..9a4e6f3 100644 --- a/lovelace/views/hass.yaml +++ b/lovelace/views/hass.yaml @@ -1,56 +1,208 @@ title: Home Assistant path: hass -panel: false icon: mdi:home-assistant -badges: [] -cards: - - type: entities - title: Home Assistant - show_header_toggle: false - entities: - - entity: sensor.system_monitor_last_boot +type: sections +sections: + - type: custom:mushroom-chips-card + chips: + - type: template + tap_action: + action: navigate + navigation_path: /lovelace/welkom + icon: mdi:arrow-left-bold + content: Overzicht + layout_options: + grid_columns: full + + - type: grid + column_span: 4 + cards: + - type: heading + heading: Home Assistant + heading_style: title + icon: mdi:home-assistant + + - type: grid + cards: + - type: heading + heading: Run time + heading_style: subtitle + - type: tile + entity: sensor.system_monitor_last_boot name: Host last boot - - entity: sensor.uptime + - type: tile + entity: sensor.uptime name: Container last boot - - entity: sensor.mariadb_size + + - type: grid + cards: + - type: heading + heading: Database + heading_style: subtitle + - type: tile + entity: sensor.mariadb_size name: MariaDB size icon: mdi:database - - type: divider - - entity: sensor.current_version - - entity: sensor.docker_hub - - - type: custom:auto-entities - show_empty: true - card: - type: entities - title: Info - filter: - template: >- - {%- set data = namespace(entities=[]) -%} - {%- for d in states | groupby("domain") %} - {%- set data.entities = data.entities + [{ - "type": "custom:template-entity-row", - "name": d[0], - "icon": "mdi:eye", - "state": states[d[0]] | count - }] -%} - {%- endfor %} - {{ data.entities }} - sort: - method: name + - type: grid + cards: + - type: heading + heading: Version + heading_style: subtitle + - type: tile + entity: sensor.current_version + - type: tile + entity: sensor.docker_hub - - type: custom:auto-entities - show_empty: false - card: - show_header_toggle: false - title: Entities onbekend - type: entities - filter: - exclude: - - domain: button - - domain: scene - - entity_id: cover.zonnescherm - - entity_id: "sensor.dsmr_*gas*" - include: - - state: unknown + - type: grid + cards: + - type: heading + heading: Domains + heading_style: subtitle + - type: tile + entity: sensor.persistent_notifications + name: Persistent notifications + - type: tile + entity: sensor.images + name: Images + - type: tile + entity: sensor.remotes + name: Remotes + - type: tile + entity: sensor.alarm_control_panels + name: Alarm control panels + - type: tile + entity: sensor.devices + name: Devices + - type: tile + entity: sensor.automations + name: Automations + - type: tile + entity: sensor.covers + name: Covers + - type: tile + entity: sensor.binary_sensors + name: Binary sensors + - type: tile + entity: sensor.water_heaters + name: Water heaters + - type: tile + entity: sensor.cameras + name: Cameras + - type: tile + entity: sensor.custom_integrations + name: Custom integrations + - type: tile + entity: sensor.datetimes + name: Datetimes + - type: tile + entity: sensor.dates + name: Dates + - type: tile + entity: sensor.entities + name: Entities + - type: tile + entity: sensor.numbers + name: Numbers + - type: tile + entity: sensor.integrations + name: Integrations + - type: tile + entity: sensor.input_booleans + name: Input booleans + - type: tile + entity: sensor.input_datetimes + name: Input datetimes + - type: tile + entity: sensor.input_numbers + name: Input numbers + - type: tile + entity: sensor.input_buttons + name: Input buttons + - type: tile + entity: sensor.input_selects + name: Input selects + - type: tile + entity: sensor.input_texts + name: Input texts + - type: tile + entity: sensor.calendars + name: Calendars + - type: tile + entity: sensor.climate + name: Climate + - type: tile + entity: sensor.buttons + name: Buttons + - type: tile + entity: sensor.lights + name: Lights + - type: tile + entity: sensor.device_trackers + name: Device trackers + - type: tile + entity: sensor.humidifiers + name: Humidifiers + - type: tile + entity: sensor.air_quality + name: Aair quality + - type: tile + entity: sensor.media_players + name: Media players + - type: tile + entity: sensor.persons + name: Persons + - type: tile + entity: sensor.areas + name: Areas + - type: tile + entity: sensor.scenes + name: Scenes + - type: tile + entity: sensor.switches + name: Switches + - type: tile + entity: sensor.scripts + name: Scripts + - type: tile + entity: sensor.selects + name: Selects + - type: tile + entity: sensor.sensors + name: Sensors + - type: tile + entity: sensor.sirens + name: Sirens + - type: tile + entity: sensor.locks + name: Locks + - type: tile + entity: sensor.stt + name: STT + - type: tile + entity: sensor.vacuums + name: Vacuums + - type: tile + entity: sensor.tts + name: TTS + - type: tile + entity: sensor.texts + name: Texts + - type: tile + entity: sensor.times + name: times + - type: tile + entity: sensor.update + name: Update + - type: tile + entity: sensor.fans + name: Fans + - type: tile + entity: sensor.weather + name: Weather + - type: tile + entity: sensor.zones + name: Zones + - type: tile + entity: sensor.suns + name: Suns diff --git a/lovelace/views/internet.yaml b/lovelace/views/internet.yaml index dc780d2..dc1bf26 100644 --- a/lovelace/views/internet.yaml +++ b/lovelace/views/internet.yaml @@ -1,15 +1,31 @@ title: Internet path: internet -panel: false icon: mdi:web -badges: [] -cards: - - type: vertical-stack +type: sections +sections: + - type: custom:mushroom-chips-card + chips: + - type: template + tap_action: + action: navigate + navigation_path: /lovelace/welkom + icon: mdi:arrow-left-bold + content: Overzicht + layout_options: + grid_columns: full + + - type: grid + column_span: 4 cards: + - type: heading + heading: Internet + heading_style: title + icon: mdi:web - type: markdown title: Ziggo meldingen - entities: - - sensor.ziggo_incidents + entities: sensor.ziggo_incidents + layout_options: + grid_columns: full content: >- {% set announcements = state_attr("sensor.ziggo_incidents", "announcements") | default([], true) %} {% set outages = state_attr("sensor.ziggo_incidents", "outages") | default([], true) %} @@ -30,87 +46,125 @@ cards: {% endfor %} {% endif %} - - type: entities - title: Internet - entities: - - sensor.myip - - entity: sensor.speedtest_download - name: Download - secondary_info: last-changed - - entity: sensor.speedtest_upload - name: Upload - secondary_info: last-changed - - entity: sensor.speedtest_ping - name: Ping - secondary_info: last-changed - - - type: horizontal-stack - cards: - - type: sensor - entity: sensor.speedtest_download - graph: line - name: Download - - - type: sensor - entity: sensor.speedtest_upload - graph: line - name: Upload - - - type: sensor - entity: sensor.speedtest_ping - graph: line - name: Ping + - type: grid + cards: + - type: heading + heading: Internet + heading_style: subtitle + - type: sensor + entity: sensor.speedtest_download + graph: line + name: Download + layout_options: + grid_columns: full + - type: sensor + entity: sensor.speedtest_upload + graph: line + name: Upload + layout_options: + grid_columns: full + - type: sensor + entity: sensor.speedtest_ping + graph: line + name: Ping + layout_options: + grid_columns: full - - type: custom:auto-entities - card: - type: entities - title: Certificaten - show_header_toggle: false - filter: - include: - - entity_id: "sensor.*_cert_expiry" - sort: - method: name + - type: grid + cards: + - type: heading + heading: Certificaten + heading_style: subtitle + - type: custom:auto-entities + show_empty: true + card: + type: grid + columns: 2 + square: false + card_param: cards + filter: + include: + - entity_id: "sensor.*_cert_expiry" + options: + type: tile + sort: + method: state - - type: entities - title: AdGuard Home primair - show_header_toggle: false - entities: - - sensor.adguard_home_primary_dns_query_s - - sensor.adguard_home_primary_aantal_dns_query_s_geblokkeerd - - sensor.adguard_home_primary_dns_query_s_geblokkeerd_ratio - - sensor.adguard_home_primary_gemiddelde_verwerkingssnelheid - - switch.adguard_home_primary_bescherming - - switch.adguard_home_primary_filteren - - switch.adguard_home_primary_ouderlijk_toezicht + - type: grid + cards: + - type: heading + heading: AdGuard Home primair + heading_style: subtitle + - type: tile + entity: sensor.adguard_home_primary_dns_query_s + name: DNS query's + - type: tile + entity: sensor.adguard_home_primary_aantal_dns_query_s_geblokkeerd + name: Aantal DNS query's geblokkeerd + - type: tile + entity: sensor.adguard_home_primary_dns_query_s_geblokkeerd_ratio + name: DNS query's geblokkeerd ratio + - type: tile + entity: sensor.adguard_home_primary_gemiddelde_verwerkingssnelheid + name: Gemiddelde verwerkingssnelheid + - type: heading + heading: AdGuard Home primair beheer + heading_style: subtitle + - type: tile + entity: switch.adguard_home_primary_bescherming + name: Bescherming + - type: tile + entity: switch.adguard_home_primary_filteren + name: Filteren + - type: tile + entity: switch.adguard_home_primary_ouderlijk_toezicht + name: Ouderlijk toezicht - - type: entities - title: AdGuard secundair - show_header_toggle: false - entities: - - sensor.adguard_home_secondary_dns_query_s - - sensor.adguard_home_secondary_aantal_dns_query_s_geblokkeerd - - sensor.adguard_home_secondary_dns_query_s_geblokkeerd_ratio - - sensor.adguard_home_secondary_gemiddelde_verwerkingssnelheid - - switch.adguard_home_secondary_bescherming - - switch.adguard_home_secondary_filteren - - switch.adguard_home_secondary_ouderlijk_toezicht + - type: grid + cards: + - type: heading + heading: AdGuard Home secundair + heading_style: subtitle + - type: tile + entity: sensor.adguard_home_secondary_dns_query_s + name: DNS query's + - type: tile + entity: sensor.adguard_home_secondary_aantal_dns_query_s_geblokkeerd + name: Aantal DNS query's geblokkeerd + - type: tile + entity: sensor.adguard_home_secondary_dns_query_s_geblokkeerd_ratio + name: DNS query's geblokkeerd ratio + - type: tile + entity: sensor.adguard_home_secondary_gemiddelde_verwerkingssnelheid + name: Gemiddelde verwerkingssnelheid + - type: heading + heading: AdGuard Home secundair beheer + heading_style: subtitle + - type: tile + entity: switch.adguard_home_secondary_bescherming + name: Bescherming + - type: tile + entity: switch.adguard_home_secondary_filteren + name: Filteren + - type: tile + entity: switch.adguard_home_secondary_ouderlijk_toezicht + name: Ouderlijk toezicht - - type: entities - show_header_toggle: false - entities: - - type: custom:fold-entity-row - head: - type: section - label: Instellingen - padding: 0 - entities: - - type: button - name: Run Speedtest - icon: mdi:speedometer - show_state: false - tap_action: - action: call-service - service: homeassistant.update_entity - target: - entity_id: sensor.speedtest_download + - type: grid + cards: + - type: heading + heading: Instellingen en acties + heading_style: subtitle + - type: tile + entity: sensor.speedtest_download + vertical: false + hide_state: true + name: Run Speedtest + icon_tap_action: + action: none + tap_action: + action: perform-action + perform_action: homeassistant.update_entity + data: + entity_id: + - sensor.speedtest_download \ No newline at end of file diff --git a/lovelace/views/tado.yaml b/lovelace/views/tado.yaml deleted file mode 100644 index 5ee2867..0000000 --- a/lovelace/views/tado.yaml +++ /dev/null @@ -1,209 +0,0 @@ -title: Tado -path: tado -panel: false -icon: mdi:radiator -badges: [] -cards: - - type: entities - title: Tado - entities: - - entity: switch.tado_home_mode - name: Thuismodus - - - type: vertical-stack - cards: - - type: entities - title: Woonkamer - entities: - - entity: sensor.woonkamer_temperatuur - type: custom:multiple-entity-row - name: Tado - state_header: Temperatuur - entities: - - entity: sensor.woonkamer_luchtvochtigheid - name: Luchtvochtigheid - - entity: sensor.air_purifier_temperature - type: custom:multiple-entity-row - name: Air purifier - state_header: Temperatuur - entities: - - entity: sensor.air_purifier_humidity - type: custom:multiple-entity-row - name: Luchtvochtigheid - - type: custom:fold-entity-row - head: - type: section - label: - entities: - - entity: binary_sensor.ru1141249024_batterij - - entity: binary_sensor.va1805654016_batterij - - entity: binary_sensor.va1923094528_batterij - - entity: binary_sensor.va3030325248_batterij - - entity: binary_sensor.woonkamer_vermogen - - entity: sensor.woonkamer_verwarmen - - entity: sensor.woonkamer_tado_mode - - entity: binary_sensor.woonkamer_vroege_start - - entity: binary_sensor.woonkamer_connectiviteit - - entity: binary_sensor.woonkamer_raam - - entity: binary_sensor.woonkamer_overlay - - type: history-graph - entities: - - entity: climate.woonkamer - hours_to_show: 24 - - - type: vertical-stack - cards: - - type: entities - title: Slaapkamer - entities: - - entity: sensor.slaapkamer_temperatuur - type: custom:multiple-entity-row - name: Tado - state_header: Temperatuur - entities: - - entity: sensor.slaapkamer_luchtvochtigheid - name: Luchtvochtigheid - - type: custom:fold-entity-row - head: - type: section - label: - entities: - - entity: binary_sensor.va2677479424_batterij - - entity: binary_sensor.slaapkamer_vermogen - - entity: sensor.slaapkamer_verwarmen - - entity: sensor.slaapkamer_tado_mode - - entity: binary_sensor.slaapkamer_vroege_start - - entity: binary_sensor.slaapkamer_connectiviteit - - entity: binary_sensor.slaapkamer_raam - - entity: binary_sensor.slaapkamer_overlay - - type: history-graph - entities: - - entity: climate.slaapkamer - hours_to_show: 24 - - - type: vertical-stack - cards: - - type: entities - title: Kledingkamer - entities: - - entity: sensor.kledingkamer_temperatuur - type: custom:multiple-entity-row - name: Tado - state_header: Temperatuur - entities: - - entity: sensor.kledingkamer_luchtvochtigheid - name: Luchtvochtigheid - - type: custom:fold-entity-row - head: - type: section - label: - entities: - - entity: binary_sensor.va3382122496_batterij - - entity: binary_sensor.kledingkamer_vermogen - - entity: sensor.kledingkamer_verwarmen - - entity: sensor.kledingkamer_tado_mode - - entity: binary_sensor.kledingkamer_vroege_start - - entity: binary_sensor.kledingkamer_connectiviteit - - entity: binary_sensor.kledingkamer_raam - - entity: binary_sensor.kledingkamer_overlay - - type: history-graph - entities: - - entity: climate.kledingkamer - hours_to_show: 24 - - - type: vertical-stack - cards: - - type: entities - title: Logeerkamer - entities: - - entity: sensor.logeerkamer_temperatuur - type: custom:multiple-entity-row - name: Tado - state_header: Temperatuur - entities: - - entity: sensor.logeerkamer_luchtvochtigheid - name: Luchtvochtigheid - - type: custom:fold-entity-row - head: - type: section - label: - entities: - - entity: binary_sensor.va4103542784_batterij - - entity: binary_sensor.logeerkamer_vermogen - - entity: sensor.logeerkamer_verwarmen - - entity: sensor.logeerkamer_tado_mode - - entity: binary_sensor.logeerkamer_vroege_start - - entity: binary_sensor.logeerkamer_connectiviteit - - entity: binary_sensor.logeerkamer_raam - - entity: binary_sensor.logeerkamer_overlay - - type: history-graph - entities: - - entity: climate.logeerkamer - hours_to_show: 24 - - - type: vertical-stack - cards: - - type: entities - title: Badkamer - entities: - - entity: sensor.badkamer_temperatuur - type: custom:multiple-entity-row - name: Tado - state_header: Temperatuur - entities: - - entity: sensor.badkamer_luchtvochtigheid - name: Luchtvochtigheid - - entity: sensor.badkamer_klimaat_temperature - type: custom:multiple-entity-row - name: Xiaomi - state_header: Temperatuur - entities: - - entity: sensor.badkamer_klimaat_humidity - name: Luchtvochtigheid - - type: custom:fold-entity-row - head: - type: section - label: - entities: - - entity: binary_sensor.va1788876800_batterij - - entity: binary_sensor.badkamer_vermogen - - entity: sensor.badkamer_verwarmen - - entity: sensor.badkamer_tado_mode - - entity: binary_sensor.badkamer_vroege_start - - entity: binary_sensor.badkamer_connectiviteit - - entity: binary_sensor.badkamer_raam - - entity: binary_sensor.badkamer_overlay - - type: history-graph - entities: - - entity: climate.badkamer - hours_to_show: 24 - - - type: vertical-stack - cards: - - type: entities - title: Zolder - entities: - - entity: sensor.zolder_temperatuur - type: custom:multiple-entity-row - name: Tado - state_header: Temperatuur - entities: - - entity: sensor.zolder_luchtvochtigheid - name: Luchtvochtigheid - - type: custom:fold-entity-row - head: - type: section - label: - entities: - - entity: binary_sensor.va2979272704_batterij - - entity: binary_sensor.zolder_vermogen - - entity: sensor.zolder_verwarmen - - entity: sensor.zolder_tado_mode - - entity: binary_sensor.zolder_vroege_start - - entity: binary_sensor.zolder_connectiviteit - - entity: binary_sensor.zolder_raam - - entity: binary_sensor.zolder_overlay - - type: history-graph - entities: - - entity: climate.zolder - hours_to_show: 24 diff --git a/packages/borg.yaml b/packages/borg.yaml index 7968cd6..a59e915 100644 --- a/packages/borg.yaml +++ b/packages/borg.yaml @@ -38,4 +38,4 @@ automation: Backup is niet goed gegaan, laatste status: {{ states('input_text.borg') }}. data: group: borg_backup - url: /dashboard-systems/borg + url: /dashboard-status/borg diff --git a/packages/lovelace.yaml b/packages/lovelace.yaml index 6ff19f0..ea4b756 100644 --- a/packages/lovelace.yaml +++ b/packages/lovelace.yaml @@ -15,12 +15,6 @@ lovelace: title: Buiten icon: mdi:home-city - dashboard-systems: - mode: yaml - filename: lovelace/dashboard_systems.yaml - title: Systems - icon: mdi:apps - dashboard-status: mode: yaml filename: lovelace/dashboard_status.yaml @@ -89,7 +83,7 @@ template: is_state("binary_sensor.ui_helper_let_op_meteoalarm", "on") or is_state("binary_sensor.stookalert_noord_holland", "on") or is_state("binary_sensor.knmi_waarschuwing", "on") or - is_state("binary_sensor.aurora_52_4", "on") or + is_state("binary_sensor.aurora_visibility_visibility_alert", "on") or is_state("binary_sensor.ui_helper_let_op_afval_bio", "on") or is_state("binary_sensor.ui_helper_let_op_afval_rest", "on") or is_state("binary_sensor.ui_helper_let_op_afval_papier", "on") or diff --git a/packages/network.yaml b/packages/network.yaml index c7c0beb..d9e33a6 100644 --- a/packages/network.yaml +++ b/packages/network.yaml @@ -17,4 +17,4 @@ automation: Nieuwe ip: {{ states('sensor.myip') }}, check of de DDNS update gelukt is. data: group: ddns - url: /dashboard-systems/internet + url: /dashboard-status/internet