]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added other BTicino relays
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 8 Apr 2024 18:31:37 +0000 (20:31 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 8 Apr 2024 18:31:37 +0000 (20:31 +0200)
.storage/lovelace.lovelace_devices
packages/BTicino/bticino_groups.yaml
packages/BTicino/bticino_log.yaml

index 0a16a77e5dd121796d156cf5e7c1d7ad7bf35dc6..2080ea48412ff623213c548fc3e477a08ba5fa65 100644 (file)
               "entities": [
                 {
                   "type": "section",
-                  "label": "NT4027C - Tapparella 0x0004740001583a4a"
+                  "label": "4411C - Dimmer 0x0004740000254d99"
+                },
+                {
+                  "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_4411C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x0004740000254d99",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x0004740000254d99",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x0004740000254d99_device_mode",
+                              "icon": "mdi:lightbulb-on-50",
+                              "show_state": false
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x0004740000254d99_led_in_dark",
+                              "icon": "mdi:led-outline",
+                              "show_state": false
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "switch.0x0004740000254d99_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 0x000474000159053e"
                 },
                 {
                   "type": "custom:hui-element",
               "entities": [
                 {
                   "type": "section",
-                  "label": "4411C - Dimmer 0x0004740000254d99"
+                  "label": "3584 - Luce 0x00047400002790a6"
                 },
                 {
                   "type": "custom:hui-element",
                         {
                           "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_4411C.png",
+                          "image": "/local/images/devices/BTicino/BTI_3584C.png",
                           "tap_action": {
                             "action": "none"
                           }
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "light.0x0004740000254d99",
+                              "entity": "light.0x00047400002790a6",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.0x0004740000254d99",
+                              "entity": "update.0x00047400002790a6",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
+                              "entity": "select.0x00047400002790a6_power_on_behavior",
                               "template": "template_device_generic_state",
-                              "entity": "switch.0x0004740000254d99_device_mode",
-                              "icon": "mdi:lightbulb-on-50",
-                              "show_state": false
+                              "name": "Power-On"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "3584 - Luce 0x0004740000282606"
+                },
+                {
+                  "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_3584C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x0004740000282606",
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x0004740000282606",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "entity": "select.0x0004740000282606_power_on_behavior",
                               "template": "template_device_generic_state",
-                              "entity": "switch.0x0004740000254d99_led_in_dark",
-                              "icon": "mdi:led-outline",
-                              "show_state": false
+                              "name": "Power-On"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "3584 - Luce 0x0004740000279162"
+                },
+                {
+                  "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_3584C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x0004740000279162",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x0004740000279162",
+                              "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
+                              "entity": "select.0x0004740000279162_power_on_behavior",
                               "template": "template_device_generic_state",
-                              "entity": "switch.0x0004740000254d99_led_if_on",
-                              "icon": "mdi:led-outline",
-                              "show_state": false
+                              "name": "Power-On"
                             }
                           ]
                         }
index 2b71d50753902fc58476bd8c21883f6f839ddf66..a314e74963ea1d15c013dd1af6ecf7a4c8337841 100644 (file)
@@ -15,3 +15,6 @@ group:
       - update.0x0004740000249a4e
       - update.0x000474000015be6b
       - update.0x0004740000249aad
+      - update.0x00047400002790a6
+      - update.0x0004740000282606
+      - update.0x0004740000279162
index 540fb9616cb8d17bbbcc06f0e6e54bb0dcc22bf3..979b9e928b405416009b21a848bff1ef04bb5804 100644 (file)
@@ -44,6 +44,15 @@ logbook:
       # BTI-3584C - Wired Relay 0x0004740000249aad
       - select.0x0004740000249aad_power_on_behavior
 
+      # BTI-3584C - Wired Relay 0x00047400002790a6
+      - select.0x00047400002790a6_power_on_behavior
+
+      # BTI-3584C - Wired Relay 0x0004740000282606
+      - select.0x0004740000282606_power_on_behavior
+
+      # BTI-3584C - Wired Relay 0x0004740000279162
+      - select.0x0004740000279162_power_on_behavior
+
 ######################################################################
 # BTicino Package - Recorder
 ######################################################################
@@ -89,3 +98,12 @@ recorder:
 
       # BTI-3584C - Wired Relay 0x0004740000249aad
       - select.0x0004740000249aad_power_on_behavior
+
+      # BTI-3584C - Wired Relay 0x00047400002790a6
+      - select.0x00047400002790a6_power_on_behavior
+
+      # BTI-3584C - Wired Relay 0x0004740000282606
+      - select.0x0004740000282606_power_on_behavior
+
+      # BTI-3584C - Wired Relay 0x0004740000279162
+      - select.0x0004740000279162_power_on_behavior