]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Minor changes and updated README
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 26 Dec 2022 17:33:09 +0000 (18:33 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 26 Dec 2022 17:33:09 +0000 (18:33 +0100)
.storage/lovelace
.storage/lovelace.lovelace_settings
README.md
components/amazon_alexa.yaml

index 07375b7352ab565475398ef20a73892291b8e1e2..95f6e3bb523fd8a37f4e13b5fb03327a76a82f27 100644 (file)
           ]
         },
         {
+          "theme": "Backend-selected",
           "icon": "mdi:home-thermometer",
           "id": "temperature",
           "title": "Temperature",
           "path": "temperature",
-          "badges": [],
+          "badges": [
+            {
+              "entity": "sun.sun"
+            },
+            {
+              "entity": "sensor.valvola_cucina_temperature"
+            },
+            {
+              "entity": "sensor.valvola_sala_temperature"
+            },
+            {
+              "entity": "sensor.valvola_bagno_temperature"
+            },
+            {
+              "entity": "sensor.valvola_studio_temperature"
+            },
+            {
+              "entity": "sensor.valvola_camera_temperature"
+            },
+            {
+              "entity": "sensor.temperatura_balcone_temperature"
+            },
+            {
+              "entity": "sensor.temperatura_veranda_temperature"
+            },
+            {
+              "entity": "sensor.temperatura_balcone_humidity"
+            },
+            {
+              "entity": "sensor.temperatura_veranda_humidity"
+            }
+          ],
           "cards": [
             {
               "type": "vertical-stack",
             }
           ]
         },
-        {
-          "icon": "mdi:weather-sunny",
-          "id": "weather",
-          "title": "Meteo",
-          "path": "weather",
-          "badges": [
-            {
-              "entity": "sun.sun"
-            }
-          ],
-          "cards": [
-            {
-              "entity": "weather.meteo_savona",
-              "type": "weather-forecast"
-            },
-            {
-              "entity": "weather.meteo_morgex",
-              "type": "weather-forecast"
-            }
-          ]
-        },
         {
           "title": "Operazioni Pianificate",
           "path": "schedule",
index 4615df73f0c21cfe0bbe02b4a07bdb6ad1722010..2139be6d80272e5858a2e2795f29f8898861b4ef 100644 (file)
 {
-    "version": 1,
-    "minor_version": 1,
-    "key": "lovelace.lovelace_settings",
-    "data": {
-        "config": {
-            "title": "Sistema Home Assistant",
-            "views": [
-                {
-                    "icon": "mdi:cog",
-                    "title": "Configurazione",
-                    "path": "config",
-                    "badges": [
-                        {
-                            "entity": "binary_sensor.home_mode"
-                        },
-                        {
-                            "entity": "binary_sensor.guard_mode"
-                        },
-                        {
-                            "entity": "binary_sensor.speech_notifications"
-                        },
-                        {
-                            "entity": "binary_sensor.text_notifications"
-                        },
-                        {
-                            "entity": "binary_sensor.home_assistant_error"
-                        }
-                    ],
-                    "cards": [
-                        {
-                            "cards": [
-                                {
-                                    "entities": [
-                                        {
-                                            "entity": "automation.home_assistant_startup_restart_on_error"
-                                        },
-                                        {
-                                            "entity": "automation.modalita_vacanza_gestione_tapparelle"
-                                        },
-                                        {
-                                            "entity": "automation.home_assistant_startup_google_sync"
-                                        },
-                                        {
-                                            "entity": "automation.risveglio_giorgio"
-                                        }
-                                    ],
-                                    "show_header_toggle": false,
-                                    "title": "Automazioni",
-                                    "type": "entities"
-                                },
-                                {
-                                    "entities": [
-                                        "input_boolean.speech_notifications",
-                                        "input_boolean.text_notifications"
-                                    ],
-                                    "show_header_toggle": false,
-                                    "title": "Configurazione Notifiche",
-                                    "type": "entities"
-                                }
-                            ],
-                            "type": "vertical-stack"
-                        },
-                        {
-                            "cards": [
-                                {
-                                    "entities": [
-                                        "script.homeassistant_restart",
-                                        "script.homeassistant_reload_scripts",
-                                        "script.homeassistant_reload_automations",
-                                        "script.homeassistant_clearlog",
-                                        "script.homeassistant_google_home_sync",
-                                        "input_boolean.test_mode"
-                                    ],
-                                    "show_header_toggle": false,
-                                    "title": "Controlli",
-                                    "type": "entities"
-                                }
-                            ],
-                            "type": "vertical-stack"
-                        },
-                        {
-                            "cards": [
-                                {
-                                    "entities": [
-                                        {
-                                            "entity": "sensor.current_version"
-                                        },
-                                        {
-                                            "entity": "sensor.cert_expiry_timestamp_server_giorgioravera_it"
-                                        },
-                                        {
-                                            "entity": "group.update"
-                                        },
-                                        {
-                                            "entity": "sensor.hacs"
-                                        }
-                                    ],
-                                    "show_header_toggle": false,
-                                    "title": "Informazioni Varie",
-                                    "type": "entities"
-                                }
-                            ],
-                            "type": "vertical-stack"
-                        }
-                    ]
+  "version": 1,
+  "minor_version": 1,
+  "key": "lovelace.lovelace_settings",
+  "data": {
+    "config": {
+      "title": "Sistema Home Assistant",
+      "views": [
+        {
+          "icon": "mdi:cog",
+          "title": "Configurazione",
+          "path": "config",
+          "badges": [
+            {
+              "entity": "binary_sensor.home_mode"
+            },
+            {
+              "entity": "binary_sensor.guard_mode"
+            },
+            {
+              "entity": "binary_sensor.speech_notifications"
+            },
+            {
+              "entity": "binary_sensor.text_notifications"
+            },
+            {
+              "entity": "binary_sensor.home_assistant_error"
+            }
+          ],
+          "cards": [
+            {
+              "cards": [
+                {
+                  "entities": [
+                    {
+                      "entity": "automation.home_assistant_startup_restart_on_error"
+                    },
+                    {
+                      "entity": "automation.modalita_vacanza_gestione_tapparelle"
+                    },
+                    {
+                      "entity": "automation.home_assistant_startup_google_sync"
+                    },
+                    {
+                      "entity": "automation.risveglio_giorgio"
+                    }
+                  ],
+                  "show_header_toggle": false,
+                  "title": "Automazioni",
+                  "type": "entities"
                 },
                 {
-                    "icon": "mdi:zigbee",
-                    "title": "Zigbee",
-                    "path": "zigbee",
-                    "badges": [],
-                    "cards": [
-                        {
-                            "entities": [
-                                {
-                                    "entity": "sensor.zigbee2mqtt_stato_bridge"
-                                },
-                                {
-                                    "entity": "sensor.zigbee2mqtt_stato_permit_join"
-                                },
-                                {
-                                    "entity": "sensor.zigbee2mqtt_stato_log_level"
-                                },
-                                {
-                                    "entity": "sensor.zigbee2mqtt_versione_bridge"
-                                },
-                                {
-                                    "entity": "sensor.zigbee2mqtt_versione_coordinator"
-                                },
-                                {
-                                    "entity": "sensor.zigbee2mqtt_canale"
-                                },
-                                {
-                                    "entity": "sensor.zigbee2mqtt_panid"
-                                }
-                            ],
-                            "show_header_toggle": false,
-                            "title": "Stato Sistema Zigbee2mqtt",
-                            "type": "entities"
-                        },
-                        {
-                            "entities": [
-                                {
-                                    "entity": "script.zigbee2mqtt_restart"
-                                },
-                                {
-                                    "type": "divider",
-                                    "style": {
-                                        "height": "1px",
-                                        "width": "98%",
-                                        "margin-left": "auto",
-                                        "margin-right": "auto",
-                                        "background": "#62717b"
-                                    }
-                                },
-                                {
-                                    "entity": "switch.zigbee2mqtt_abilita_join"
-                                },
-                                {
-                                    "entity": "timer.zigbee_permit_join"
-                                },
-                                {
-                                    "entity": "input_number.zigbee2mqtt_join_minutes"
-                                },
-                                {
-                                    "type": "divider",
-                                    "style": {
-                                        "height": "1px",
-                                        "width": "98%",
-                                        "margin-left": "auto",
-                                        "margin-right": "auto",
-                                        "background": "#62717b"
-                                    }
-                                },
-                                {
-                                    "entity": "input_text.zigbee2mqtt_old_name"
-                                },
-                                {
-                                    "entity": "input_text.zigbee2mqtt_new_name"
-                                },
-                                {
-                                    "entity": "script.zigbee2mqtt_rename"
-                                },
-                                {
-                                    "type": "divider",
-                                    "style": {
-                                        "height": "1px",
-                                        "width": "98%",
-                                        "margin-left": "auto",
-                                        "margin-right": "auto",
-                                        "background": "#62717b"
-                                    }
-                                },
-                                {
-                                    "entity": "input_text.zigbee2mqtt_remove"
-                                },
-                                {
-                                    "entity": "input_boolean.zigbee2mqtt_force_remove"
-                                },
-                                {
-                                    "entity": "script.zigbee2mqtt_remove"
-                                },
-                                {
-                                    "type": "divider",
-                                    "style": {
-                                        "height": "1px",
-                                        "width": "98%",
-                                        "margin-left": "auto",
-                                        "margin-right": "auto",
-                                        "background": "#62717b"
-                                    }
-                                },
-                                {
-                                    "entity": "input_select.zigbee2mqtt_log_level"
-                                }
-                            ],
-                            "show_header_toggle": false,
-                            "title": "Operazioni Sistema Zigbee2mqtt",
-                            "type": "entities"
-                        },
-                        {
-                            "type": "custom:battery-state-card",
-                            "title": "Batteria Dispositivi ZigBee",
-                            "sort_by_level": "desc",
-                            "entities": [
-                                {
-                                    "entity": "sensor.porta_casa_battery",
-                                    "name": "Porta Casa"
-                                },
-                                {
-                                    "entity": "sensor.temperatura_balcone_battery",
-                                    "name": "Temperatura Balcone"
-                                },
-                                {
-                                    "entity": "sensor.temperatura_veranda_battery",
-                                    "name": "Temperatura Veranda"
-                                },
-                                {
-                                    "entity": "sensor.spare_door_battery",
-                                    "name": "Spare Door"
-                                },
-                                {
-                                    "entity": "sensor.wireless_button_battery",
-                                    "name": "Wireless Button"
-                                }
-                            ]
-                        },
-                        {
-                            "type": "vertical-stack",
-                            "title": "Mappa Dispositivi",
-                            "layout": "vertical",
-                            "cards": [
-                                {
-                                    "type": "custom:zigbee2mqtt-networkmap",
-                                    "title": "Zigbee2MQTT Network Map",
-                                    "entity": "sensor.zigbee2mqtt_networkmap",
-                                    "mqtt_base_topic": "zigbee2mqtt",
-                                    "force": 3000,
-                                    "node_size": 16,
-                                    "font_size": 12,
-                                    "link_width": 2,
-                                    "height": 400,
-                                    "css": ":host {\n  --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7);\n  --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3;\n  --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6);\n  --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5);\n  --zigbee2mqtt-networkmap-hover-color: #be385d;\n  --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6);\n  --zigbee2mqtt-networkmap-label-color: #127862;\n  --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7);\n  --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7);\n  --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7);\n    }\n"
-                                }
-                            ]
-                        }
-                    ]
+                  "entities": [
+                    "input_boolean.speech_notifications",
+                    "input_boolean.text_notifications"
+                  ],
+                  "show_header_toggle": false,
+                  "title": "Configurazione Notifiche",
+                  "type": "entities"
+                }
+              ],
+              "type": "vertical-stack"
+            },
+            {
+              "cards": [
+                {
+                  "entities": [
+                    "script.homeassistant_restart",
+                    "script.homeassistant_reload_scripts",
+                    "script.homeassistant_reload_automations",
+                    "script.homeassistant_clearlog",
+                    "script.homeassistant_google_home_sync",
+                    "input_boolean.test_mode"
+                  ],
+                  "show_header_toggle": false,
+                  "title": "Controlli",
+                  "type": "entities"
+                }
+              ],
+              "type": "vertical-stack"
+            },
+            {
+              "cards": [
+                {
+                  "entities": [
+                    {
+                      "entity": "sensor.current_version"
+                    },
+                    {
+                      "entity": "sensor.cert_expiry_timestamp_server_giorgioravera_it"
+                    },
+                    {
+                      "entity": "group.update"
+                    },
+                    {
+                      "entity": "sensor.hacs"
+                    }
+                  ],
+                  "show_header_toggle": false,
+                  "title": "Informazioni Varie",
+                  "type": "entities"
+                }
+              ],
+              "type": "vertical-stack"
+            }
+          ]
+        },
+        {
+          "icon": "mdi:zigbee",
+          "title": "Zigbee",
+          "path": "zigbee",
+          "badges": [],
+          "cards": [
+            {
+              "entities": [
+                {
+                  "entity": "sensor.zigbee2mqtt_stato_bridge"
                 },
                 {
-                    "icon": "mdi:lan",
-                    "title": "Dispositivi di Rete",
-                    "type": "sidebar",
-                    "path": "network",
-                    "badges": [],
-                    "cards": [
-                        {
-                            "entities": [
-                                {
-                                    "entity": "sensor.xraver_duckdns_org"
-                                }
-                            ],
-                            "title": "External IP",
-                            "type": "entities",
-                            "view_layout": {
-                                "position": "sidebar"
-                            }
-                        },
-                        {
-                            "type": "vertical-stack",
-                            "cards": [
-                                {
-                                    "type": "entities",
-                                    "entities": [
-                                        {
-                                            "entity": "sensor.speedtest_ping"
-                                        },
-                                        {
-                                            "entity": "sensor.speedtest_download"
-                                        },
-                                        {
-                                            "entity": "sensor.speedtest_upload"
-                                        }
-                                    ],
-                                    "title": "Speed Test"
-                                },
-                                {
-                                    "type": "button",
-                                    "entity": "sensor.speedtest_download",
-                                    "show_icon": true,
-                                    "name": "Aggiorna Valori",
-                                    "icon_height": "25px",
-                                    "tap_action": {
-                                        "action": "call-service",
-                                        "service": "speedtestdotnet.speedtest"
-                                    }
-                                }
-                            ],
-                            "view_layout": {
-                                "position": "sidebar"
-                            }
-                        },
-                        {
-                            "type": "history-graph",
-                            "entities": [
-                                {
-                                    "entity": "sensor.freebsd_router_kib_s_received"
-                                },
-                                {
-                                    "entity": "sensor.freebsd_router_kib_s_sent"
-                                }
-                            ],
-                            "title": "pfSense - Traffico di Rete",
-                            "refresh_interval": 0,
-                            "hours_to_show": 6
-                        }
-                    ]
+                  "entity": "sensor.zigbee2mqtt_stato_permit_join"
                 },
                 {
-                    "title": "Automazioni",
-                    "path": "automations",
-                    "icon": "mdi:cogs",
-                    "type": "panel",
-                    "badges": [],
-                    "cards": [
-                        {
-                            "type": "custom:layout-card",
-                            "layout_type": "custom:grid-layout",
-                            "layout": {
-                                "grid-template-columns": "100px auto"
-                            },
-                            "cards": [
-                                {
-                                    "type": "vertical-stack",
-                                    "cards": [
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Tutte"
-                                            },
-                                            "icon": "mdi:cog"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Allarmi"
-                                            },
-                                            "icon": "mdi:alarm"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Guardia"
-                                            },
-                                            "icon": "mdi:shield-home"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Home Assistant"
-                                            },
-                                            "icon": "mdi:home-assistant"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Luci"
-                                            },
-                                            "icon": "mdi:lightbulb"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Termosifoni"
-                                            },
-                                            "icon": "mdi:radiator"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Shelly"
-                                            },
-                                            "icon": "mdi:alpha-s-box"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Vacanza"
-                                            },
-                                            "icon": "mdi:airplane"
-                                        },
-                                        {
-                                            "type": "custom:button-card",
-                                            "template": "generic_themed_input_select",
-                                            "entity": "input_select.automation_selector",
-                                            "variables": {
-                                                "value_select": "Zigbee2MQTT"
-                                            },
-                                            "icon": "mdi:zigbee"
-                                        }
-                                    ]
-                                },
-                                {
-                                    "type": "custom:auto-entities",
-                                    "show_icon": false,
-                                    "show_header_toggle": true,
-                                    "card": {
-                                        "type": "entities",
-                                        "title": "Automazioni",
-                                        "state_color": true
-                                    },
-                                    "filter": {
-                                        "template": "[ {% for auto in states.automation %}\n    {% if states['input_select.automation_selector'].state.upper().replace(\" \",\"_\") in auto.entity_id.upper() or \n          states['input_select.automation_selector'].state == \"Tutte\" %}\n      {'entity': '{{ auto.entity_id }}', 'secondary_info': 'last-triggered'},\n    {% endif %}\n  {% endfor %} ]\n"
-                                    },
-                                    "sort": {
-                                        "method": "name",
-                                        "reverse": false
-                                    }
-                                }
-                            ]
-                        }
-                    ]
+                  "entity": "sensor.zigbee2mqtt_stato_log_level"
+                },
+                {
+                  "entity": "sensor.zigbee2mqtt_versione_bridge"
+                },
+                {
+                  "entity": "sensor.zigbee2mqtt_versione_coordinator"
+                },
+                {
+                  "entity": "sensor.zigbee2mqtt_canale"
+                },
+                {
+                  "entity": "sensor.zigbee2mqtt_panid"
                 }
-            ],
-            "button_card_templates": {
-                "generic_themed_input_select": {
-                    "color_type": "icon",
-                    "variables": {
-                        "value_select": ""
+              ],
+              "show_header_toggle": false,
+              "title": "Stato Sistema Zigbee2mqtt",
+              "type": "entities"
+            },
+            {
+              "entities": [
+                {
+                  "entity": "script.zigbee2mqtt_restart"
+                },
+                {
+                  "type": "divider",
+                  "style": {
+                    "height": "1px",
+                    "width": "98%",
+                    "margin-left": "auto",
+                    "margin-right": "auto",
+                    "background": "#62717b"
+                  }
+                },
+                {
+                  "entity": "switch.zigbee2mqtt_abilita_join"
+                },
+                {
+                  "entity": "timer.zigbee_permit_join"
+                },
+                {
+                  "entity": "input_number.zigbee2mqtt_join_minutes"
+                },
+                {
+                  "type": "divider",
+                  "style": {
+                    "height": "1px",
+                    "width": "98%",
+                    "margin-left": "auto",
+                    "margin-right": "auto",
+                    "background": "#62717b"
+                  }
+                },
+                {
+                  "entity": "input_text.zigbee2mqtt_old_name"
+                },
+                {
+                  "entity": "input_text.zigbee2mqtt_new_name"
+                },
+                {
+                  "entity": "script.zigbee2mqtt_rename"
+                },
+                {
+                  "type": "divider",
+                  "style": {
+                    "height": "1px",
+                    "width": "98%",
+                    "margin-left": "auto",
+                    "margin-right": "auto",
+                    "background": "#62717b"
+                  }
+                },
+                {
+                  "entity": "input_text.zigbee2mqtt_remove"
+                },
+                {
+                  "entity": "input_boolean.zigbee2mqtt_force_remove"
+                },
+                {
+                  "entity": "script.zigbee2mqtt_remove"
+                },
+                {
+                  "type": "divider",
+                  "style": {
+                    "height": "1px",
+                    "width": "98%",
+                    "margin-left": "auto",
+                    "margin-right": "auto",
+                    "background": "#62717b"
+                  }
+                },
+                {
+                  "entity": "input_select.zigbee2mqtt_log_level"
+                }
+              ],
+              "show_header_toggle": false,
+              "title": "Operazioni Sistema Zigbee2mqtt",
+              "type": "entities"
+            },
+            {
+              "type": "custom:battery-state-card",
+              "title": "Batteria Dispositivi ZigBee",
+              "sort_by_level": "desc",
+              "entities": [
+                {
+                  "entity": "sensor.porta_casa_battery",
+                  "name": "Porta Casa"
+                },
+                {
+                  "entity": "sensor.temperatura_balcone_battery",
+                  "name": "Temperatura Balcone"
+                },
+                {
+                  "entity": "sensor.temperatura_veranda_battery",
+                  "name": "Temperatura Veranda"
+                },
+                {
+                  "entity": "sensor.spare_door_battery",
+                  "name": "Spare Door"
+                },
+                {
+                  "entity": "sensor.wireless_button_battery",
+                  "name": "Wireless Button"
+                }
+              ]
+            },
+            {
+              "type": "vertical-stack",
+              "title": "Mappa Dispositivi",
+              "layout": "vertical",
+              "cards": [
+                {
+                  "type": "custom:zigbee2mqtt-networkmap",
+                  "title": "Zigbee2MQTT Network Map",
+                  "entity": "sensor.zigbee2mqtt_networkmap",
+                  "mqtt_base_topic": "zigbee2mqtt",
+                  "force": 3000,
+                  "node_size": 16,
+                  "font_size": 12,
+                  "link_width": 2,
+                  "height": 400,
+                  "css": ":host {\n  --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7);\n  --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3;\n  --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6);\n  --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5);\n  --zigbee2mqtt-networkmap-hover-color: #be385d;\n  --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6);\n  --zigbee2mqtt-networkmap-label-color: #127862;\n  --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7);\n  --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7);\n  --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7);\n    }\n"
+                }
+              ]
+            }
+          ]
+        },
+        {
+          "icon": "mdi:lan",
+          "title": "Dispositivi di Rete",
+          "type": "sidebar",
+          "path": "network",
+          "badges": [],
+          "cards": [
+            {
+              "entities": [
+                {
+                  "entity": "sensor.xraver_duckdns_org"
+                }
+              ],
+              "title": "External IP",
+              "type": "entities",
+              "view_layout": {
+                "position": "sidebar"
+              }
+            },
+            {
+              "type": "vertical-stack",
+              "cards": [
+                {
+                  "type": "entities",
+                  "entities": [
+                    {
+                      "entity": "sensor.speedtest_ping"
                     },
-                    "show_name": true,
-                    "name": "[[[ return variables.value_select ]]]\n",
-                    "styles": {
-                        "card": [
-                            {
-                                "font-size": "11pt"
-                            },
-                            {
-                                "color": "var(--primary-text-color)"
-                            },
-                            {
-                                "background": "linear-gradient(var(--secondary-background-color), var(--primary-background-color))"
-                            },
-                            {
-                                "border": "rgba(115, 115, 115, 0.75) 0.5px solid"
-                            },
-                            {
-                                "border-radius": "0.8vw"
-                            },
-                            {
-                                "box-shadow": "none"
-                            },
-                            {
-                                "transition": "0.5s"
-                            },
-                            {
-                                "height": "95px"
-                            },
-                            {
-                                "border-color": "[[[\n  if (variables.value_select && entity.state==variables.value_select)\n    return 'DeepSkyBlue'\n]]]                    \n"
-                            }
-                        ],
-                        "name": [
-                            {
-                                "font-size": "11px"
-                            }
-                        ],
-                        "icon": [
-                            {
-                                "width": "30px"
-                            },
-                            {
-                                "color": "[[[\n  if (variables.value_select && entity.state==variables.value_select)\n    return 'var(--switch-checked-button-color)'\n  else\n    return 'lightgray'\n]]]            \n"
-                            }
-                        ]
+                    {
+                      "entity": "sensor.speedtest_download"
                     },
-                    "hold_action": {
-                        "action": "more-info"
+                    {
+                      "entity": "sensor.speedtest_upload"
+                    }
+                  ],
+                  "title": "Speed Test"
+                },
+                {
+                  "type": "button",
+                  "entity": "sensor.speedtest_download",
+                  "show_icon": true,
+                  "name": "Aggiorna Valori",
+                  "icon_height": "25px",
+                  "tap_action": {
+                    "action": "call-service",
+                    "service": "speedtestdotnet.speedtest"
+                  }
+                }
+              ],
+              "view_layout": {
+                "position": "sidebar"
+              }
+            },
+            {
+              "type": "history-graph",
+              "entities": [
+                {
+                  "entity": "sensor.freebsd_router_kib_s_received"
+                },
+                {
+                  "entity": "sensor.freebsd_router_kib_s_sent"
+                }
+              ],
+              "title": "pfSense - Traffico di Rete",
+              "refresh_interval": 0,
+              "hours_to_show": 6
+            }
+          ]
+        },
+        {
+          "title": "Automazioni",
+          "path": "automations",
+          "icon": "mdi:cogs",
+          "type": "panel",
+          "badges": [],
+          "cards": [
+            {
+              "type": "custom:layout-card",
+              "layout_type": "custom:grid-layout",
+              "layout": {
+                "grid-template-columns": "100px auto"
+              },
+              "cards": [
+                {
+                  "type": "vertical-stack",
+                  "cards": [
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Tutte"
+                      },
+                      "icon": "mdi:cog"
+                    },
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Allarmi"
+                      },
+                      "icon": "mdi:alarm"
+                    },
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Guardia"
+                      },
+                      "icon": "mdi:shield-home"
+                    },
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Home Assistant"
+                      },
+                      "icon": "mdi:home-assistant"
                     },
-                    "tap_action": {
-                        "action": "call-service",
-                        "service": "input_select.select_option",
-                        "service_data": {
-                            "entity_id": "[[[ return entity.entity_id ]]]",
-                            "option": "[[[ return variables.value_select ]]]"
-                        }
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Luci"
+                      },
+                      "icon": "mdi:lightbulb"
+                    },
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Termosifoni"
+                      },
+                      "icon": "mdi:radiator"
+                    },
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Shelly"
+                      },
+                      "icon": "mdi:alpha-s-box"
+                    },
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Vacanza"
+                      },
+                      "icon": "mdi:airplane"
+                    },
+                    {
+                      "type": "custom:button-card",
+                      "template": "generic_themed_input_select",
+                      "entity": "input_select.automation_selector",
+                      "variables": {
+                        "value_select": "Zigbee2MQTT"
+                      },
+                      "icon": "mdi:zigbee"
                     }
+                  ]
+                },
+                {
+                  "type": "custom:auto-entities",
+                  "show_icon": false,
+                  "show_header_toggle": true,
+                  "card": {
+                    "type": "entities",
+                    "title": "Automazioni",
+                    "state_color": true
+                  },
+                  "filter": {
+                    "template": "[ {% for auto in states.automation %}\n    {% if states['input_select.automation_selector'].state.upper().replace(\" \",\"_\") in auto.entity_id.upper() or \n          states['input_select.automation_selector'].state == \"Tutte\" %}\n      {'entity': '{{ auto.entity_id }}', 'secondary_info': 'last-triggered'},\n    {% endif %}\n  {% endfor %} ]\n"
+                  },
+                  "sort": {
+                    "method": "name",
+                    "reverse": false
+                  }
                 }
+              ]
+            }
+          ]
+        },
+        {
+          "theme": "Backend-selected",
+          "title": "History",
+          "path": "history",
+          "icon": "mdi:history",
+          "type": "panel",
+          "badges": [],
+          "cards": [
+            {
+              "type": "custom:history-explorer-card",
+              "cardName": "History",
+              "defaultTimeRange": "1h",
+              "combineSameUnits": true,
+              "recordedEntitiesOnly": true
+            }
+          ]
+        }
+      ],
+      "button_card_templates": {
+        "generic_themed_input_select": {
+          "color_type": "icon",
+          "variables": {
+            "value_select": ""
+          },
+          "show_name": true,
+          "name": "[[[ return variables.value_select ]]]\n",
+          "styles": {
+            "card": [
+              {
+                "font-size": "11pt"
+              },
+              {
+                "color": "var(--primary-text-color)"
+              },
+              {
+                "background": "linear-gradient(var(--secondary-background-color), var(--primary-background-color))"
+              },
+              {
+                "border": "rgba(115, 115, 115, 0.75) 0.5px solid"
+              },
+              {
+                "border-radius": "0.8vw"
+              },
+              {
+                "box-shadow": "none"
+              },
+              {
+                "transition": "0.5s"
+              },
+              {
+                "height": "95px"
+              },
+              {
+                "border-color": "[[[\n  if (variables.value_select && entity.state==variables.value_select)\n    return 'DeepSkyBlue'\n]]]                    \n"
+              }
+            ],
+            "name": [
+              {
+                "font-size": "11px"
+              }
+            ],
+            "icon": [
+              {
+                "width": "30px"
+              },
+              {
+                "color": "[[[\n  if (variables.value_select && entity.state==variables.value_select)\n    return 'var(--switch-checked-button-color)'\n  else\n    return 'lightgray'\n]]]            \n"
+              }
+            ]
+          },
+          "hold_action": {
+            "action": "more-info"
+          },
+          "tap_action": {
+            "action": "call-service",
+            "service": "input_select.select_option",
+            "service_data": {
+              "entity_id": "[[[ return entity.entity_id ]]]",
+              "option": "[[[ return variables.value_select ]]]"
             }
+          }
         }
+      }
     }
+  }
 }
\ No newline at end of file
index 66f90019007fd2f08006a8ca635162cab4992576..4719f04ad195347b853cc108eb19044df450ad44 100644 (file)
--- a/README.md
+++ b/README.md
@@ -30,24 +30,30 @@ My server is an Intel NUC (NUC10i5FNH) with [Proxmox Virtual Environment](https:
 ### Integrations
 * [browser_mod](https://github.com/thomasloven/hass-browser_mod)
 * [HACS](https://github.com/hacs/integration)
+* [Monitor Docker](https://github.com/ualex73/monitor_docker) (not currently used)
 * [MercedeME 2020](https://github.com/ReneNulschDE/mbapi2020)
-* [Scheduler Component](https://github.com/nielsfaber/scheduler-component)
+* [pfSense integration for Home Assistant](https://github.com/travisghansen/hass-pfsense) (not currently used)
+* [Pirate Weather](https://github.com/alexander0042/pirate-weather-ha)
+* [Scheduler Component](https://github.com/nielsfaber/scheduler-component) (not currently used)
 ### Frontend
 * [auto-entities](https://github.com/thomasloven/lovelace-auto-entities)
+* [badge-Card](https://github.com/thomasloven/lovelace-auto-entities) (not currently used)
 * [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)
 * [Darkish Theme](https://github.com/78wesley/Home-Assistant-Darkish-Theme)
 * [fold-entity-row](https://github.com/thomasloven/lovelace-fold-entity-row)
+* [history-explorer-card](https://github.com/alexarch21/history-explorer-card)
 * [hui-element](https://github.com/thomasloven/lovelace-hui-element)
 * [layout-card](https://github.com/thomasloven/lovelace-layout-card)
 * [Lovelace Swipe Navigation](https://github.com/maykar/lovelace-swipe-navigation)
 * [mini-graph-card](https://github.com/kalkih/mini-graph-card)
+* [Paper Buttons Row](https://github.com/jcwillox/lovelace-paper-buttons-row) (not currently used)
 * [pirate-weather-ha](https://github.com/alexander0042/pirate-weather-ha)
 * [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)
+* [Scheduler Card](https://github.com/nielsfaber/scheduler-card) (not currently used)
 * [Shutter Card](https://github.com/Deejayfool/hass-shutter-card)
 * [Zigbee2mqtt Networkmap Card](https://github.com/azuwis/zigbee2mqtt-networkmap)
 
index a33bb2a6fe8a13be6d767ffcc61cab9470fd702d..4b37bc0bcfdf9659b8b7aad67ae9f4d3cf4becee 100644 (file)
@@ -1,3 +1,7 @@
+######################################################################
+# Component: Amazon Alexa
+######################################################################
+
 smart_home:
   locale: it-IT
   endpoint: https://api.eu.amazonalexa.com/v3/events