]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added remaining bticino cover devices
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 4 Jul 2024 06:31:54 +0000 (08:31 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 4 Jul 2024 06:31:54 +0000 (08:31 +0200)
.storage/lovelace.lovelace_devices
packages/BTicino/bticino_customizations.yaml

index 2080ea48412ff623213c548fc3e477a08ba5fa65..451a4c77be1efb4ad95c4192208b17a88b8a3693 100644 (file)
                 }
               ]
             },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "NT4027C - Tapparella 0x00047400015a3e19"
+                },
+                {
+                  "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/BTicino/BTI_NT4027C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "cover.0x00047400015a3e19",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x00047400015a3e19",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015a3e19_led_in_dark",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015a3e19_led_if_on",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "NT4027C - Tapparella 0x00047400015ada4b"
+                },
+                {
+                  "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/BTicino/BTI_NT4027C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "cover.0x00047400015ada4b",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x00047400015ada4b",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015ada4b_led_in_dark",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015ada4b_led_if_on",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "NT4027C - Tapparella 0x00047400015adb10"
+                },
+                {
+                  "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/BTicino/BTI_NT4027C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "cover.0x00047400015adb10",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x00047400015adb10",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015adb10_led_in_dark",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015adb10_led_if_on",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "NT4027C - Tapparella 0x00047400015ada3d"
+                },
+                {
+                  "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/BTicino/BTI_NT4027C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "cover.0x00047400015ada3d",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x00047400015ada3d",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015ada3d_led_in_dark",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015ada3d_led_if_on",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "NT4027C - Tapparella 0x00047400015ada3f"
+                },
+                {
+                  "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/BTicino/BTI_NT4027C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "cover.0x00047400015ada3f",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x00047400015ada3f",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015ada3f_led_in_dark",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x00047400015ada3f_led_if_on",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
             {
               "type": "entities",
               "show_header_toggle": "off",
index 33ff0580068ccb9793a23bead9383cb3bc437166..dd0b546ed7aa65a28e1956b83d5ae72ac34f31f7 100644 (file)
@@ -42,3 +42,43 @@ homeassistant:
       friendly_name: "LED se acceso"
     switch.0x000474000159053e_led_in_dark:
       friendly_name: "LED se spento"
+
+    # BTI-NT4027C - Tapparella 0x00047400015a3e19
+    cover.0x00047400015a3e19:
+      supported_features: 15
+    switch.0x00047400015a3e19_led_if_on:
+      friendly_name: "LED se acceso"
+    switch.0x00047400015a3e19_led_in_dark:
+      friendly_name: "LED se spento"
+
+    # BTI-NT4027C - Tapparella 0x00047400015ada4b
+    cover.0x00047400015ada4b:
+      supported_features: 15
+    switch.0x00047400015ada4b_led_if_on:
+      friendly_name: "LED se acceso"
+    switch.0x00047400015ada4b_led_in_dark:
+      friendly_name: "LED se spento"
+
+    # BTI-NT4027C - Tapparella 0x00047400015adb10
+    cover.0x00047400015adb10:
+      supported_features: 15
+    switch.0x00047400015adb10_led_if_on:
+      friendly_name: "LED se acceso"
+    switch.0x00047400015adb10_led_in_dark:
+      friendly_name: "LED se spento"
+
+    # BTI-NT4027C - Tapparella 0x00047400015ada3d
+    cover.0x00047400015ada3d:
+      supported_features: 15
+    switch.0x00047400015ada3d_led_if_on:
+      friendly_name: "LED se acceso"
+    switch.0x00047400015ada3d_led_in_dark:
+      friendly_name: "LED se spento"
+
+    # BTI-NT4027C - Tapparella 0x00047400015ada3f
+    cover.0x00047400015ada3f:
+      supported_features: 15
+    switch.0x00047400015ada3f_led_if_on:
+      friendly_name: "LED se acceso"
+    switch.0x00047400015ada3f_led_in_dark:
+      friendly_name: "LED se spento"