]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Added Tenda Bagno (BTicino)
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 2 Nov 2025 21:19:03 +0000 (22:19 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 2 Nov 2025 21:19:03 +0000 (22:19 +0100)
.gitignore
.storage/lovelace
.storage/lovelace.lovelace_devices
components/amazon_alexa/covers.yaml
components/google_assistant/covers.yaml
components/homekit.yaml
packages/BTicino/bticino_customizations.yaml
packages/BTicino/bticino_groups.yaml
packages/BTicino/bticino_log.yaml
www/images/devices/BTicino/BTI_N4027C.png [new file with mode: 0644]

index 28d0e338bc73cde1a537811add6107053e0d67c5..d4cb8403444318c2fc686e1da3094af5d4ab75bd 100644 (file)
@@ -1,5 +1,6 @@
 # Home Assistant Components
 .HA_VERSION
+.ha_run.lock
 .storage
 .uuid
 deps/
index 593c22e50261ae7f273399e0fc1e8759f301ec5a..cb374f3cdc476993412fe3d664552c51b74c35e6 100644 (file)
                   },
                   "title": "Studio"
                 },
+                {
+                  "type": "picture-glance",
+                  "aspect_ratio": "0%",
+                  "entities": [
+                    {
+                      "entity": "cover.tenda_bagno"
+                    },
+                    {
+                      "entity": "climate.bagno_piccolo"
+                    }
+                  ],
+                  "image": "/local/images/rooms/bagno_off.jpg",
+                  "title": "Bagno Piccolo"
+                },
                 {
                   "type": "picture-glance",
                   "aspect_ratio": "0%",
                     "on": "/local/images/rooms/balcone_on.jpg"
                   },
                   "title": "Balcone"
-                },
-                {
-                  "type": "custom:clock-weather-card",
-                  "entity": "weather.savona"
                 }
               ],
               "column_span": 3
               "text_only": true
             },
             "layout": "responsive",
-            "badges_position": "bottom"
+            "badges_position": "bottom",
+            "badges_wrap": "wrap"
           }
         },
         {
                     }
                   ],
                   "type": "custom:shutter-card"
+                },
+                {
+                  "type": "heading",
+                  "icon": "mdi:curtains-closed",
+                  "heading": "Tende",
+                  "heading_style": "title"
+                },
+                {
+                  "entities": [
+                    {
+                      "buttons_position": "left",
+                      "entity": "cover.tenda_bagno",
+                      "name": "Tenda Bagno",
+                      "always_percentage": true
+                    }
+                  ],
+                  "type": "custom:shutter-card"
                 }
               ],
               "column_span": 3
index a775566f8d78dfa827363773466ab47294739162..b9ad29f4dd1f47cf08c1906db47dadce3036483b 100644 (file)
                 }
               ]
             },
+            {
+              "type": "grid",
+              "cards": [
+                {
+                  "type": "heading",
+                  "heading": "N4027C - Tenda Bagno",
+                  "heading_style": "title"
+                },
+                {
+                  "type": "entities",
+                  "show_header_toggle": "off",
+                  "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+                  "entities": [
+                    {
+                      "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_N4027C.png",
+                              "tap_action": {
+                                "action": "none"
+                              }
+                            },
+                            {
+                              "type": "vertical-stack",
+                              "cards": [
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "cover.tenda_bagno",
+                                  "name": "Stato"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_firmware",
+                                  "entity": "update.tenda_bagno",
+                                  "name": "Firmare"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "switch.tenda_bagno_led_in_dark",
+                                  "icon": "mdi:led-outline",
+                                  "show_state": false
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "switch.tenda_bagno_led_if_on",
+                                  "icon": "mdi:led-outline",
+                                  "show_state": false
+                                }
+                              ]
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
             {
               "type": "grid",
               "cards": [
                   ]
                 }
               ]
+            },
+            {
+              "type": "grid",
+              "cards": []
             }
           ],
           "header": {}
index bf202a19d0f33e7233e013139b1341ae93ab9b7d..1fcd5274113b6459339903fe099090392eee063e 100644 (file)
@@ -6,5 +6,6 @@
 - cover.tapparella_cucina_piccola
 - cover.tapparella_sala
 - cover.tapparella_studio
+- cover.tenda_bagno
 - cover.tapparella_bagno
 - cover.tapparella_camera
index 57c71f4675c00a7a22b47ea9fa6875433dd266c8..6ec905ee89643ce37e25cba47fa29e52eb6ec7eb 100644 (file)
@@ -14,9 +14,12 @@ cover.tapparella_sala:
 cover.tapparella_studio:
   expose: true
   room: Studio
+cover.tenda_bagno:
+  expose: true
+  room: Bagno Piccolo
 cover.tapparella_bagno:
   expose: true
-  room: Bagno
+  room: Bagno Grande
 cover.tapparella_camera:
   expose: true
   room: Camera
index 7d7d580e4b56c7092b40bf672ed0bdbe504e108f..6aa5502f1aae951b435a8ad176502634a89dfc88 100644 (file)
@@ -12,20 +12,21 @@ filter:
     - cover.tapparella_cucina_piccola
     - cover.tapparella_sala
     - cover.tapparella_studio
+    - cover.tenda_bagno
     - cover.tapparella_bagno
     - cover.tapparella_camera
     # Lights
-    - light.luce_corridoio
     - light.luce_zona_giorno
     - light.luce_armadio
     - light.luce_cucina
-    #- light.luce_vetrine
+    - light.luce_vetrine
     - light.luce_sala
-    - light.luce_piantana
     - light.luce_studio
+    - light.luce_piantana
     - light.luce_zona_notte
     - light.luce_bagno
     - light.luce_specchio
+    - light.luce_trono
     - light.luce_camera
     - light.luce_balcone
     # Sensors
index e3ead94516613527555dae36c033df72a031b8f9..bfbac8138329bb163e3028f16004e33e4b27f3d7 100644 (file)
@@ -36,6 +36,14 @@ homeassistant:
     switch.tapparella_studio_led_in_dark:
       friendly_name: "LED se spento"
 
+    # BTI-N4027C - Tenda Bagno (0x0004740001729a60)
+    cover.tenda_bagno:
+      supported_features: 15
+    switch.tenda_bagno_led_if_on:
+      friendly_name: "LED se acceso"
+    switch.tenda_bagno_led_in_dark:
+      friendly_name: "LED se spento"
+
     # BTI-NT4027C - Tapparella Bagno (0x000474000159053e)
     cover.tapparella_bagno:
       supported_features: 15
@@ -81,18 +89,3 @@ homeassistant:
       friendly_name: "Illuminazione massima"
     number.luce_camera_ballast_minimum_level:
       friendly_name: "Illuminazione minima"
-
-    # BTI-NT4411C - Dimmer 0x0004740001583a4a (N/A)
-    #light.0x0004740001583a4a:
-    #  supported_color_modes: null
-    #  supported_features: 0
-    switch.0x0004740001583a4a_device_mode:
-      friendly_name: "Funzione Dimmer"
-    switch.0x0004740001583a4a_led_if_on:
-      friendly_name: "LED se acceso"
-    switch.0x0004740001583a4a_led_in_dark:
-      friendly_name: "LED se spento"
-    number.0x0004740001583a4a_ballast_maximum_level:
-      friendly_name: "Illuminazione massima"
-    number.0x0004740001583a4a_ballast_minimum_level:
-      friendly_name: "Illuminazione minima"
index 979ef67b4178100c68d6345605f9afc52206d210..160a98309a8d33c7fd9e49b9232a4fdfe73b9dc6 100644 (file)
@@ -12,6 +12,7 @@ group:
       - update.tapparella_cucina_piccola
       - update.tapparella_sala
       - update.tapparella_studio
+      - update.tenda_bagno
       - update.tapparella_bagno
       - update.tapparella_camera
       # Lights
@@ -27,6 +28,3 @@ group:
       - update.luce_trono
       - update.luce_camera
       - update.luce_balcone
-      # Non connessi
-      - update.0x0004740000249a4e
-      - update.0x0004740001583a4a
index 53c368ab371e4e323328ace97373b403bd873ee6..743f47e36852f1625851b1416efc65829b4ed682 100644 (file)
@@ -6,37 +6,36 @@ logbook:
   exclude:
     entities:
       # BTI-NT4027C - Tapparella Cucina Grande (0x00047400015ada4b)
-      - select.tapparella_cucina_grande_identify
       - select.tapparella_cucina_grande_calibration_mode
       - switch.tapparella_cucina_grande_led_if_on
       - switch.tapparella_cucina_grande_led_in_dark
 
       # BTI-NT4027C - Tapparella Cucina Piccola (0x00047400015adb10)
-      - select.tapparella_cucina_piccola_identify
       - select.tapparella_cucina_piccola_calibration_mode
       - switch.tapparella_cucina_piccola_led_if_on
       - switch.tapparella_cucina_piccola_led_in_dark
 
       # BTI-NT4027C - Tapparella Sala (0x00047400015ada3d)
-      - select.tapparella_sala_identify
       - select.tapparella_sala_calibration_mode
       - switch.tapparella_sala_led_if_on
       - switch.tapparella_sala_led_in_dark
 
       # BTI-NT4027C - Tapparella Studio (0x00047400015a3e19)
-      - select.tapparella_studio_identify
       - select.tapparella_studio_calibration_mode
       - switch.tapparella_studio_led_if_on
       - switch.tapparella_studio_led_in_dark
 
+      # BTI-N4027C - Tenda Bagno (0x0004740001729a60)
+      - select.tenda_bagno_calibration_mode
+      - switch.tenda_bagno_led_if_on
+      - switch.tenda_bagno_led_in_dark
+
       # BTI-NT4027C - Tapparella Bagno (0x000474000159053e)
-      - select.tapparella_bagno_identify
       - select.tapparella_bagno_calibration_mode
       - switch.tapparella_bagno_led_if_on
       - switch.tapparella_bagno_led_in_dark
 
       # BTI-NT4027C - Tapparella Camera (0x00047400015ada3f)
-      - select.tapparella_camera_identify
       - select.tapparella_camera_calibration_mode
       - switch.tapparella_camera_led_if_on
       - switch.tapparella_camera_led_in_dark
@@ -51,7 +50,6 @@ logbook:
       - select.luce_cucina_power_on_behavior
 
       # BTI-4411C - Luce Sala (0x00047400002bd3ad)
-      - select.luce_sala_identify
       - number.luce_sala_ballast_maximum_level
       - number.luce_sala_ballast_minimum_level
       - switch.luce_sala_device_mode
@@ -78,7 +76,6 @@ logbook:
       - select.luce_trono_power_on_behavior
 
       # BTI-4411C - Luce Camera (0x0004740000292ec9)
-      - select.luce_camera_identify
       - number.luce_camera_ballast_maximum_level
       - number.luce_camera_ballast_minimum_level
       - switch.luce_camera_device_mode
@@ -89,18 +86,6 @@ logbook:
       # BTI-3584C - Luce Balcone (0x000474000015de50)
       - select.luce_balcone_power_on_behavior
 
-      # BTI-NT4411C - Dimmer 0x0004740001583a4a (N/A)
-      - select.0x0004740001583a4a_identify
-      - number.0x0004740001583a4a_ballast_maximum_level
-      - number.0x0004740001583a4a_ballast_minimum_level
-      - switch.0x0004740001583a4a_device_mode
-      - select.0x0004740001583a4a_power_on_behavior
-      - switch.0x0004740001583a4a_led_if_on
-      - switch.0x0004740001583a4a_led_in_dark
-
-      # BTI-3584C - Wired Relay 0x0004740000249a4e (N/A)
-      - select.0x0004740000249a4e_power_on_behavior
-
 ######################################################################
 # BTicino Package - Recorder
 ######################################################################
@@ -109,37 +94,36 @@ recorder:
   exclude:
     entities:
       # BTI-NT4027C - Tapparella Cucina Grande (0x00047400015ada4b)
-      - select.tapparella_cucina_grande_identify
       - select.tapparella_cucina_grande_calibration_mode
       - switch.tapparella_cucina_grande_led_if_on
       - switch.tapparella_cucina_grande_led_in_dark
 
       # BTI-NT4027C - Tapparella Cucina Piccola (0x00047400015adb10)
-      - select.tapparella_cucina_piccola_identify
       - select.tapparella_cucina_piccola_calibration_mode
       - switch.tapparella_cucina_piccola_led_if_on
       - switch.tapparella_cucina_piccola_led_in_dark
 
       # BTI-NT4027C - Tapparella Sala (0x00047400015ada3d)
-      - select.tapparella_sala_identify
       - select.tapparella_sala_calibration_mode
       - switch.tapparella_sala_led_if_on
       - switch.tapparella_sala_led_in_dark
 
       # BTI-NT4027C - Tapparella Studio (0x00047400015a3e19)
-      - select.tapparella_studio_identify
       - select.tapparella_studio_calibration_mode
       - switch.tapparella_studio_led_if_on
       - switch.tapparella_studio_led_in_dark
 
+      # BTI-N4027C - Tenda Bagno (0x0004740001729a60)
+      - select.tenda_bagno_calibration_mode
+      - switch.tenda_bagno_led_if_on
+      - switch.tenda_bagno_led_in_dark
+
       # BTI-NT4027C - Tapparella Bagno (0x000474000159053e)
-      - select.tapparella_bagno_identify
       - select.tapparella_bagno_calibration_mode
       - switch.tapparella_bagno_led_if_on
       - switch.tapparella_bagno_led_in_dark
 
       # BTI-NT4027C - Tapparella Camera (0x00047400015ada3f)
-      - select.tapparella_camera_identify
       - select.tapparella_camera_calibration_mode
       - switch.tapparella_camera_led_if_on
       - switch.tapparella_camera_led_in_dark
@@ -154,7 +138,6 @@ recorder:
       - select.luce_cucina_power_on_behavior
 
       # BTI-4411C - Luce Sala (0x00047400002bd3ad)
-      - select.luce_sala_identify
       - number.luce_sala_ballast_maximum_level
       - number.luce_sala_ballast_minimum_level
       - switch.luce_sala_device_mode
@@ -181,7 +164,6 @@ recorder:
       - select.luce_trono_power_on_behavior
 
       # BTI-4411C - Luce Camera (0x0004740000292ec9)
-      - select.luce_camera_identify
       - number.luce_camera_ballast_maximum_level
       - number.luce_camera_ballast_minimum_level
       - switch.luce_camera_device_mode
@@ -191,15 +173,3 @@ recorder:
 
       # BTI-3584C - Luce Balcone (0x000474000015de50)
       - select.luce_balcone_power_on_behavior
-
-      # BTI-NT4411C - Dimmer 0x0004740001583a4a (N/A)
-      - select.0x0004740001583a4a_identify
-      - number.0x0004740001583a4a_ballast_maximum_level
-      - number.0x0004740001583a4a_ballast_minimum_level
-      - switch.0x0004740001583a4a_device_mode
-      - select.0x0004740001583a4a_power_on_behavior
-      - switch.0x0004740001583a4a_led_if_on
-      - switch.0x0004740001583a4a_led_in_dark
-
-      # BTI-3584C - Wired Relay 0x0004740000249a4e (N/A)
-      - select.0x0004740000249a4e_power_on_behavior
diff --git a/www/images/devices/BTicino/BTI_N4027C.png b/www/images/devices/BTicino/BTI_N4027C.png
new file mode 100644 (file)
index 0000000..869cc6b
Binary files /dev/null and b/www/images/devices/BTicino/BTI_N4027C.png differ