]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added another BTicino relay
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 27 Feb 2024 17:46:52 +0000 (18:46 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 27 Feb 2024 17:46:52 +0000 (18:46 +0100)
.storage/lovelace.lovelace_devices
packages/BTicino/bticino_log.yaml

index abd2844e5f81868402a90fb4140bb5ef648a5d6c..d480770324917da5e2cce02a9158a8180ede8404 100644 (file)
                   ]
                 }
               ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "3584 - Luce 0x0004740000249aad"
+                },
+                {
+                  "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.0x0004740000249aad",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x0004740000249aad",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "entity": "select.0x0004740000249aad_power_on_behavior",
+                              "template": "template_device_generic_state",
+                              "name": "Power-On"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
             }
           ]
         }
index 6546883dc89dd0a4a87403c8da91cf976397e40e..92aeaa8a0d2bd8899906eb5d15008cc7e21b7ad9 100644 (file)
@@ -31,6 +31,9 @@ logbook:
       # BTI-3584C - Wired Relay 0x000474000015be6b
       - select.0x000474000015be6b_power_on_behavior
 
+      # BTI-3584C - Wired Relay 0x0004740000249aad
+      - select.0x0004740000249aad_power_on_behavior
+
 ######################################################################
 # BTicino Package - Recorder
 ######################################################################
@@ -63,3 +66,6 @@ recorder:
 
       # BTI-3584C - Wired Relay 0x000474000015be6b
       - select.0x000474000015be6b_power_on_behavior
+
+      # BTI-3584C - Wired Relay 0x0004740000249aad
+      - select.0x0004740000249aad_power_on_behavior