]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added Refrigerator to lovelace
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sat, 28 Dec 2024 09:33:16 +0000 (10:33 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Sat, 28 Dec 2024 09:33:16 +0000 (10:33 +0100)
.storage/lovelace.lovelace_devices
www/images/devices/kitchen_appliance/NSC7P751DS.png [new file with mode: 0644]

index 367cf1d7522251a98f5c95734411948f3b382014..6e523100b2b22142094c3700f978e8ccce11d2b9 100644 (file)
                 }
               ]
             },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "Frigorifero AEG NSC7P751DS"
+                },
+                {
+                  "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": "/local/images/devices/kitchen_appliance/NSC7P751DS.png",
+                          "tap_action": {
+                            "action": "url",
+                            "url_path": "https://home.giorgioravera.it/config/devices/device/bfab9fda2db21dc014407fb29ed4607e"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "binary_sensor.aeg_frigo_fridge_doorstate",
+                              "name": "Porta Frigo"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "binary_sensor.aeg_frigo_freezer_doorstate",
+                              "name": "Porta Freezer"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "number.aeg_frigo_fridge_targettemperaturec",
+                              "name": "Frigo",
+                              "color": "var(--state-icon-color)"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "number.aeg_frigo_freezer_targettemperaturec",
+                              "name": "Freezer",
+                              "color": "var(--state-icon-color)"
+                            }
+                          ]
+                        }
+                      ]
+                    },
+                    {
+                      "type": "horizontal-stack",
+                      "cards": [
+                        {
+                          "type": "custom:button-card",
+                          "entity": "select.aeg_frigo_highfan",
+                          "show_name": false,
+                          "icon": "mdi:fan",
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "select.aeg_frigo_ecometervisualstate",
+                          "icon": "mdi:recycle",
+                          "show_name": false,
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "switch.aeg_frigo_freezer_fastmode",
+                          "show_name": false,
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "switch.aeg_frigo_freezer_fastmode",
+                          "show_name": false,
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "button.aeg_frigo_airfilterstatereset",
+                          "show_name": false,
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
             {
               "type": "entities",
               "show_header_toggle": "off",
diff --git a/www/images/devices/kitchen_appliance/NSC7P751DS.png b/www/images/devices/kitchen_appliance/NSC7P751DS.png
new file mode 100644 (file)
index 0000000..251cf37
Binary files /dev/null and b/www/images/devices/kitchen_appliance/NSC7P751DS.png differ