]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Updated themses, added ssl certificate expiration, replaced bar-card with entity...
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 19 Feb 2026 13:08:17 +0000 (14:08 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 19 Feb 2026 13:08:17 +0000 (14:08 +0100)
.storage/lovelace.lovelace_devices
.storage/lovelace.lovelace_settings
README.md
automations/doors.yaml
automations/themes.yaml
customizations/certificates.yaml
log/logbook.yaml
log/recorder.yaml
packages/update/update_types.yaml
template/certs.yaml [new file with mode: 0644]

index 3a4647ba01676f65082b226ac638b2db3985fef0..62e7c41349e29b1b50098cc1dadbda48e3268d39 100644 (file)
                               ]
                             }
                           ]
-                        },
-                        {
-                          "type": "custom:bar-card",
-                          "show_header_toggle": false,
-                          "state_color": false,
-                          "positions": {
-                            "indicator": "off",
-                            "name": "outside",
-                            "value": "outside",
-                            "icon": "inside"
-                          },
-                          "style": "ha-card { \n    --paper-card-background-color: 'rgba(0, 0, 0, 0)';\n    --ha-card-background: \"rgba(0, 0, 0, 0)\";\n    --ha-card-box-shadow: 'none';\n}\nbar-card-value {\n  \n  margin: 0px;\n  font-size: 15px;\n  text-shadow: 1px 1px #0005;\n}\nbar-card-name {\n  margin: 0px;\n  font-size: 15px;\n  text-shadow: 1px 1px #0005;\n}\nha-icon {\n  color: darkgrey;\n}",
-                          "entities": [
-                            {
-                              "entity": "sensor.canon_tr8500_series_black_bk",
-                              "name": "BK",
-                              "color": "black",
-                              "width": "85%"
-                            },
-                            {
-                              "entity": "sensor.canon_tr8500_series_black_pgbk",
-                              "name": "PGBK",
-                              "color": "black",
-                              "width": "85%"
-                            },
-                            {
-                              "entity": "sensor.canon_tr8500_series_cyan",
-                              "name": "C",
-                              "color": "cyan",
-                              "width": "85%"
-                            },
-                            {
-                              "entity": "sensor.canon_tr8500_series_magenta",
-                              "name": "M",
-                              "color": "magenta",
-                              "width": "85%"
-                            },
-                            {
-                              "entity": "sensor.canon_tr8500_series_yellow",
-                              "name": "Y",
-                              "color": "yellow",
-                              "width": "85%"
-                            }
-                          ]
                         }
                       ]
                     }
                   ]
+                },
+                {
+                  "type": "vertical-stack",
+                  "cards": [
+                    {
+                      "type": "custom:entity-progress-card",
+                      "entity": "sensor.canon_tr8500_series_black_bk",
+                      "name": "BK",
+                      "fill_direction": "left-to-right",
+                      "bar_color": "black",
+                      "bar_size": "large"
+                    },
+                    {
+                      "type": "custom:entity-progress-card",
+                      "entity": "sensor.canon_tr8500_series_black_pgbk",
+                      "name": "PGBK",
+                      "fill_direction": "left-to-right",
+                      "bar_color": "#555555",
+                      "bar_size": "large"
+                    },
+                    {
+                      "type": "custom:entity-progress-card",
+                      "entity": "sensor.canon_tr8500_series_cyan",
+                      "name": "C",
+                      "fill_direction": "left-to-right",
+                      "bar_color": "cyan",
+                      "bar_size": "large"
+                    },
+                    {
+                      "type": "custom:entity-progress-card",
+                      "entity": "sensor.canon_tr8500_series_magenta",
+                      "name": "M",
+                      "fill_direction": "left-to-right",
+                      "bar_color": "magenta",
+                      "bar_size": "large"
+                    },
+                    {
+                      "type": "custom:entity-progress-card",
+                      "entity": "sensor.canon_tr8500_series_yellow",
+                      "name": "Y",
+                      "fill_direction": "left-to-right",
+                      "bar_color": "yellow",
+                      "bar_size": "large"
+                    }
+                  ]
                 }
               ]
             }
               "layout_type": "custom:grid-layout"
             },
             {
-              "type": "entities",
-              "entities": [
+              "type": "custom:vertical-stack-in-card",
+              "cards": [
                 {
-                  "entity": "input_boolean.central_heating"
+                  "type": "entities",
+                  "entities": [
+                    {
+                      "entity": "input_boolean.central_heating"
+                    },
+                    {
+                      "entity": "select.netatmo_casa_ravera_testa"
+                    },
+                    {
+                      "entity": "input_number.netatmo_manual_temperature"
+                    }
+                  ],
+                  "state_color": false,
+                  "title": "Impostazioni"
                 },
                 {
-                  "entity": "select.netatmo_casa_ravera_testa"
+                  "type": "markdown",
+                  "content": "<hr style=\"border:0;height:1px;background:#c9c9c9;margin:8px 0;\">\n"
                 },
                 {
-                  "entity": "input_number.netatmo_manual_temperature"
+                  "type": "entities",
+                  "entities": [
+                    {
+                      "entity": "input_boolean.valvola_zona_giorno"
+                    },
+                    {
+                      "entity": "input_boolean.valvola_cucina"
+                    },
+                    {
+                      "entity": "input_boolean.valvola_sala"
+                    },
+                    {
+                      "entity": "input_boolean.valvola_studio"
+                    },
+                    {
+                      "entity": "input_boolean.valvola_bagno_piccolo"
+                    },
+                    {
+                      "entity": "input_boolean.valvola_bagno_grande"
+                    },
+                    {
+                      "entity": "input_boolean.valvola_camera"
+                    }
+                  ],
+                  "title": "Accensione / Spegnimento",
+                  "show_header_toggle": false
                 }
               ],
-              "state_color": false,
-              "title": "Impostazioni",
               "view_layout": {
                 "position": "sidebar"
               }
                 }
               ]
             },
+            {
+              "type": "grid",
+              "cards": [
+                {
+                  "type": "heading",
+                  "heading": "Sensore Acqua Veranda - SONOFF SNZB-05P",
+                  "heading_style": "title"
+                },
+                {
+                  "type": "entities",
+                  "show_header_toggle": "off",
+                  "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+                  "entities": [
+                    {
+                      "type": "custom:hui-element",
+                      "card_type": "vertical-stack",
+                      "cards": [
+                        {
+                          "type": "horizontal-stack",
+                          "cards": [
+                            {
+                              "type": "picture",
+                              "style": "ha-card { \n    --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n    --ha-card-background: \"rgba(0, 0, 0, 0)\";\n    --ha-card-box-shadow: 'none';\n}\n",
+                              "image": "https://www.zigbee2mqtt.io/images/devices/SNZB-05P.png"
+                            },
+                            {
+                              "type": "vertical-stack",
+                              "cards": [
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "binary_sensor.sensore_acqua_veranda_water_leak",
+                                  "name": "Stato"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_battery_state",
+                                  "entity": "sensor.sensore_acqua_veranda_battery",
+                                  "name": "Batteria"
+                                }
+                              ]
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "grid",
+              "cards": [
+                {
+                  "type": "heading",
+                  "icon": "mdi:motion-sensor",
+                  "heading": "Sesori Presenza",
+                  "heading_style": "title"
+                }
+              ],
+              "column_span": 3
+            },
+            {
+              "type": "grid",
+              "cards": [
+                {
+                  "type": "heading",
+                  "heading": "Sensore Presenza Bagno Grande - SONOFF SNZB-03P",
+                  "heading_style": "title"
+                },
+                {
+                  "type": "entities",
+                  "show_header_toggle": "off",
+                  "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+                  "entities": [
+                    {
+                      "type": "custom:hui-element",
+                      "card_type": "vertical-stack",
+                      "cards": [
+                        {
+                          "type": "horizontal-stack",
+                          "cards": [
+                            {
+                              "type": "picture",
+                              "style": "ha-card { \n    --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n    --ha-card-background: \"rgba(0, 0, 0, 0)\";\n    --ha-card-box-shadow: 'none';\n}\n",
+                              "image": "https://www.zigbee2mqtt.io/images/devices/SNZB-03P.png"
+                            },
+                            {
+                              "type": "vertical-stack",
+                              "cards": [
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "binary_sensor.sensore_presenza_bagno_grande_occupancy",
+                                  "name": "Stato"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_battery_state",
+                                  "entity": "sensor.sensore_presenza_bagno_grande_illumination",
+                                  "name": "Illuminazione"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_battery_state",
+                                  "entity": "sensor.sensore_presenza_bagno_grande_battery",
+                                  "name": "Batteria"
+                                }
+                              ]
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
             {
               "type": "grid",
               "cards": [
index cf2eb4708358d48829cc1446d36aadb02967588d..e3a0288670bc06c7d57ac7d21a36f7e367599791 100644 (file)
                       "entity": "sensor.current_version"
                     },
                     {
-                      "entity": "sensor.server_giorgioravera_it_scadenza_del_certificato"
+                      "entity": "sensor.zigbee2mqtt_bridge_version"
+                    },
+                    {
+                      "entity": "sensor.zigbee2mqtt_bridge_coordinator_type"
                     }
                   ]
                 },
+                {
+                  "type": "heading",
+                  "icon": "mdi:certificate",
+                  "heading": "Certificati",
+                  "heading_style": "title"
+                },
+                {
+                  "type": "custom:entity-progress-card",
+                  "name": "Validità Certificato SSL",
+                  "icon": "mdi:certificate",
+                  "decimal": 0,
+                  "min_value": 0,
+                  "max_value": 90,
+                  "bar_orientation": "rtl",
+                  "custom_theme": [
+                    {
+                      "min": 0,
+                      "max": 10,
+                      "color": "red"
+                    },
+                    {
+                      "min": 10,
+                      "max": 20,
+                      "color": "yellow-color"
+                    },
+                    {
+                      "min": 20,
+                      "max": 90,
+                      "color": "green"
+                    }
+                  ],
+                  "entity": "sensor.certificato_ssl_giorni_rimanenti",
+                  "grid_options": {
+                    "columns": 12,
+                    "rows": 1
+                  }
+                },
                 {
                   "type": "heading",
                   "icon": "mdi:update",
index b4b56e3671b2612bcad11f5d7fde102bb19bee0f..5b3136bd5f5eec892e3e5216982a1b421f53fc49 100644 (file)
--- a/README.md
+++ b/README.md
@@ -34,20 +34,19 @@ My server is an Intel NUC (NUC10i5FNH) with [Proxmox Virtual Environment](https:
 The following integration are part of HACS system. Install HACS first:
 * [HACS](https://github.com/hacs/integration)
 ### Integrations
-* [browser_mod](https://github.com/thomasloven/hass-browser_mod)
+* [browser-mod](https://github.com/thomasloven/hass-browser_mod)
 * [Monitor Docker](https://github.com/ualex73/monitor_docker)
 * [MercedeME 2020](https://github.com/ReneNulschDE/mbapi2020)
 * [pfSense integration for Home Assistant](https://github.com/travisghansen/hass-pfsense) (not currently used)
 * [Scheduler Component](https://github.com/nielsfaber/scheduler-component) (not currently used)
 ### Frontend
 * [auto-entities](https://github.com/thomasloven/lovelace-auto-entities)
-* [Bar Card](https://github.com/custom-cards/bar-card)
 * [Battery State Card](https://github.com/maxwroc/battery-state-card)
 * [button-card](https://github.com/custom-cards/button-card)
 * [card-mod](https://github.com/thomasloven/lovelace-card-mod)
 * [clock-weather-card](https://github.com/pkissling/clock-weather-card)
-* [Darkish Theme](https://github.com/78wesley/Home-Assistant-Darkish-Theme)
-* [homeassistant_electrolux_status](https://github.com/mauro-midolo/homeassistant_electrolux_status) (Electrolux EOB9S21WX and AEG NSC7P751DS)
+* [homeassistant-electrolux-status](https://github.com/mauro-midolo/homeassistant_electrolux_status) (Electrolux EOB9S21WX and AEG NSC7P751DS)
+* [locelace-entity-progress-card](https://github.com/francois-le-ko4la/lovelace-entity-progress-card)
 * [Lovelace Horizon Card](https://github.com/rejuvenate/lovelace-horizon-card)
 * [fold-entity-row](https://github.com/thomasloven/lovelace-fold-entity-row)
 * [Home Assistant Swipe Navigation](https://github.com/zanna-37/hass-swipe-navigation)
@@ -60,11 +59,13 @@ The following integration are part of HACS system. Install HACS first:
 * [Mushroom Themes](https://github.com/piitaya/lovelace-mushroom-themes) (not currently used)
 * [Paper Buttons Row](https://github.com/jcwillox/lovelace-paper-buttons-row) (not currently used)
 * [Plotly Graph Card](https://github.com/dbuezas/lovelace-plotly-graph-card)
-* [Reeder Dark Theme](https://github.com/hekm77/reeder_dark_theme)
 * [Scheduler Card](https://github.com/nielsfaber/scheduler-card) (not currently used)
 * [Shutter Card](https://github.com/Deejayfool/hass-shutter-card)
 * [Tabbed Card](https://github.com/kinghat/tabbed-card)
 * [Zigbee2mqtt Networkmap Card](https://github.com/azuwis/zigbee2mqtt-networkmap)
+### Themes
+* [Aqua Fiesta](https://github.com/home-assistant-community-themes/aqua-fiesta)
+* [Blue Night](https://github.com/home-assistant-community-themes/blue-night)
 ## Custom Component Used (not included in HACS)
 The following integrations are not part of HACS. It's required to clone the related repository in the folder git_repos.
 * [bravia-auth-and-remote](https://github.com/breunigs/bravia-auth-and-remote)
index 067813ac5badb0258c281f665a3908b7491bb4a8..f47e0e4b4f278f791042bdd524e393a5bc19863a 100644 (file)
@@ -27,6 +27,9 @@
       - condition: time
         after: "15:00:00"
         before: "05:00:00"
+      - condition: state
+        entity_id: group.lights
+        state: "off"
 
   action:
     - delay: 00:00:01
index 175462d481a2cb2bf38177c8f581823ee9755eaf..8447c3996ca7521436244001ac03577645729b6b 100644 (file)
       data_template:
         name: >-
           {% if is_state('sensor.home_mode', 'giorno') %}
-            default
+            classic_blue
           {% endif %}
           {% if is_state('sensor.home_mode', 'notte') %}
-            darkish
+            blue_night
           {% endif %}
           {% if is_state('sensor.home_mode', 'vacanza') %}
-            reeder_dark
+            aqua-fiesta
           {% endif %}
index b6e028fa160dd6f09e8db69461667a7722d82c8a..dc9ab5986cc8ef566ee1d33f8d0a42295fdcfcfb 100644 (file)
@@ -4,3 +4,7 @@
 
 sensor.server_giorgioravera_it_scadenza_del_certificato:
   friendly_name: Scadenza Certificato SSL
+
+sensor.server_giorgioravera_it_scadenza:
+  friendly_name: "Certificato SSL - Giorni Rimanenti"
+  #icon: mdi:certificate
index cc426b142a6f7d1c20fd5817c7bb8562f9eb48ad..8b48926fb5cac131ad14e3b7262cf10e602a0c9a 100644 (file)
@@ -102,6 +102,9 @@ exclude:
     - sensor.xraver_duckdns_org
     #- sensor.xraver_duckdns_org_ipv6
     - sensor.externalip_giorgioravera_it
+    # Certificates
+    - sensor.server_giorgioravera_it_scadenza_del_certificato
+    - sensor.server_giorgioravera_it_scadenza
     # Canon
     - sensor.canon_tr8500_series
     - sensor.canon_tr8500_series_black_bk
index 4be23b66580129c3b66a06c6d4407750400f70fd..e41b0af1e6dfce60bc75a3551cb2a051b1446d1f 100644 (file)
@@ -104,6 +104,9 @@ exclude:
     - sensor.xraver_duckdns_org
     #- sensor.xraver_duckdns_org_ipv6
     - sensor.externalip_giorgioravera_it
+    # Certificates
+    - sensor.server_giorgioravera_it_scadenza_del_certificato
+    - sensor.server_giorgioravera_it_scadenza
     # Canon
     - sensor.canon_tr8500_series
     - sensor.canon_tr8500_series_black_bk
index 58b99dacc1531937e195fa0df2de347d589572db..22718af0e9d380abfd3f53923304849dc73bad38 100644 (file)
@@ -49,16 +49,17 @@ group:
     name: HACS modules
     icon: mdi:alpha-h-box
     entities:
+      - update.aqua_fiesta_theme_update
       - update.auto_entities_update
-      - update.bar_card_update
       - update.battery_state_card_entity_row_update
+      - update.blue_night_theme_update
       - update.browser_mod_update
+      - update.bubble_card_update
       - update.button_card_update
       - update.card_mod_update
-      - update.clear_theme_dark_update
       - update.clock_weather_card_update
-      - update.darkish_theme_update
-      - update.electrolux_care_integration_v2_not_official_update
+      - update.electrolux_status_update
+      - update.entity_progress_card_update
       - update.fold_entity_row_update
       - update.hacs_update
       - update.home_assistant_swipe_navigation_update
@@ -72,7 +73,6 @@ group:
       - update.mushroom_update
       - update.paper_buttons_row_update
       - update.plotly_graph_card_update
-      - update.reeder_dark_theme_update
       - update.shutter_card_update
       - update.tabbed_card_update
       - update.vehicle_info_card_update
diff --git a/template/certs.yaml b/template/certs.yaml
new file mode 100644 (file)
index 0000000..f76f740
--- /dev/null
@@ -0,0 +1,20 @@
+######################################################################
+# Sensors: Certificates
+######################################################################
+
+- trigger:
+    - platform: homeassistant
+      event: start
+    - platform: time_pattern
+      seconds: "/30"
+    - platform: time
+      at: "00:00:00"
+  sensor:
+    - name: "Certificato SSL - Giorni Rimanenti"
+      unique_id: certificato_ssl_giorni_rimanenti
+      unit_of_measurement: "giorni"
+      availability: >
+        {{ states('sensor.server_giorgioravera_it_scadenza_del_certificato') not in ['unknown','unavailable','none',''] }}
+      state: >
+        {% set expiry = as_datetime(states('sensor.server_giorgioravera_it_scadenza_del_certificato')) %}
+        {{ ((expiry - now()).total_seconds() / 86400) | round(0) }}