]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Moved classe300eos into BTicino package folder
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 19 Dec 2023 19:01:36 +0000 (20:01 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 19 Dec 2023 19:01:36 +0000 (20:01 +0100)
.storage/lovelace.lovelace_devices
packages/BTicino/300eos.yaml [new file with mode: 0644]
packages/bticino_300eos.yaml [deleted file]
www/images/devices/BTicino/classe300eos.png [new file with mode: 0644]
www/images/devices/classe300eos.png [deleted file]

index 25590e7fb989918f165ad93236fff6aa18e3de0e..e7ec4ad95126b00fe6f79d355b119db3ea83462d 100644 (file)
                         {
                           "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/classe300eos.png"
+                          "image": "/local/images/devices/BTicino/classe300eos.png"
                         },
                         {
                           "type": "vertical-stack",
             }
           ]
         },
+        {
+          "title": "Elettrodomestici",
+          "path": "Appliance",
+          "icon": "mdi:countertop",
+          "type": "custom:horizontal-layout",
+          "badges": [],
+          "cards": [
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "Forno Electrolux EOB9S21WX"
+                },
+                {
+                  "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/EOB9S21WX.png",
+                          "tap_action": {
+                            "action": "url",
+                            "url_path": "https://www.electrolux.it/kitchen/cooking/ovens/oven/eob9s21wx/"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "binary_sensor.electrolux_forno_apl_status",
+                              "name": "Stato",
+                              "styles": {
+                                "icon": [
+                                  {
+                                    "color": "var(--state-icon-color)"
+                                  }
+                                ]
+                              }
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "binary_sensor.electrolux_forno_ov1_doorstate",
+                              "name": "Porta",
+                              "styles": {
+                                "icon": [
+                                  {
+                                    "color": "var(--state-icon-color)"
+                                  }
+                                ]
+                              }
+                            }
+                          ]
+                        }
+                      ]
+                    },
+                    {
+                      "type": "horizontal-stack",
+                      "cards": [
+                        {
+                          "type": "custom:button-card",
+                          "entity": "button.electrolux_forno_ov1_executecommand_1",
+                          "show_name": false,
+                          "icon": "mdi:power",
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "red"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "button.electrolux_forno_ov1_executecommand_0",
+                          "show_name": false,
+                          "icon": "mdi:power",
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "green"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "button.electrolux_forno_ov1_executecommand_2",
+                          "show_name": false,
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "button.electrolux_forno_ov1_executecommand_3",
+                          "show_name": false,
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "entity": "button.electrolux_forno_ov1_executecommand_5",
+                          "show_name": false,
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "var(--state-icon-color)"
+                              }
+                            ]
+                          }
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "Lavastoviglie Electrolux EES68510L"
+                },
+                {
+                  "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/EES68510L.png",
+                          "tap_action": {
+                            "action": "url",
+                            "url_path": "https://www.electrolux.it/kitchen/dishwashing/dishwashers/dishwasher-60-cm/ees68510l/"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "sensor.shelly_em_channel_1_power",
+                              "name": "Potenza",
+                              "styles": {
+                                "icon": [
+                                  {
+                                    "color": "var(--state-icon-color)"
+                                  }
+                                ]
+                              }
+                            }
+                          ]
+                        }
+                      ]
+                    },
+                    {
+                      "type": "horizontal-stack",
+                      "cards": [
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "icon": "mdi:power",
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "red"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "icon": "mdi:power",
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "green"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "styles": {
+                            "card": [
+                              {
+                                "padding": "0%"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "styles": {
+                            "card": [
+                              {
+                                "padding": "0%"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "styles": {
+                            "card": [
+                              {
+                                "padding": "0%"
+                              }
+                            ]
+                          }
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "Lavatrice LG F2WV9S8P2E"
+                },
+                {
+                  "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/F2WV9S8P2E.png",
+                          "tap_action": {
+                            "action": "url",
+                            "url_path": "https://www.lg.com/it/lavatrici/lg-f2wv9s8p2e"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "sensor.shelly_em_channel_1_power",
+                              "name": "Potenza",
+                              "styles": {
+                                "icon": [
+                                  {
+                                    "color": "var(--state-icon-color)"
+                                  }
+                                ]
+                              }
+                            }
+                          ]
+                        }
+                      ]
+                    },
+                    {
+                      "type": "horizontal-stack",
+                      "cards": [
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "icon": "mdi:power",
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "red"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "icon": "mdi:power",
+                          "styles": {
+                            "icon": [
+                              {
+                                "color": "green"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "styles": {
+                            "card": [
+                              {
+                                "padding": "0%"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "styles": {
+                            "card": [
+                              {
+                                "padding": "0%"
+                              }
+                            ]
+                          }
+                        },
+                        {
+                          "type": "custom:button-card",
+                          "show_name": false,
+                          "styles": {
+                            "card": [
+                              {
+                                "padding": "0%"
+                              }
+                            ]
+                          }
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            }
+          ]
+        },
         {
           "title": "Shelly",
           "path": "shelly",
               ]
             }
           ]
+        },
+        {
+          "title": "BTicino",
+          "path": "bticino",
+          "icon": "mdi:alpha-b-box",
+          "type": "custom:horizontal-layout",
+          "badges": [],
+          "cards": [
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "NT4411C - Dimmer 0x0004740001583a4a"
+                },
+                {
+                  "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_NT4411C.png",
+                          "tap_action": {
+                            "action": "url",
+                            "url_path": "http://shelly1.giorgioravera.it"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x0004740001583a4a",
+                              "name": "Stato",
+                              "styles": {
+                                "icon": [
+                                  {
+                                    "color": "var(--state-icon-color)"
+                                  }
+                                ]
+                              }
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x0004740001583a4a",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_button",
+                              "entity": "switch.0x0004740001583a4a_device_mode",
+                              "icon": "mdi:lightbulb-on-50",
+                              "styles": {
+                                "icon": [
+                                  {
+                                    "color": "var(--state-icon-color)"
+                                  }
+                                ]
+                              }
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_button",
+                              "entity": "switch.0x0004740001583a4a_led_in_dark",
+                              "icon": "mdi:led-outline"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_button",
+                              "entity": "switch.0x0004740001583a4a_led_if_on",
+                              "icon": "mdi:led-outline"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "NT4027C - Tapparella 0x0004740001583a4a"
+                },
+                {
+                  "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": "url",
+                            "url_path": "http://shelly1.giorgioravera.it"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "cover.0x000474000159053e",
+                              "name": "Stato",
+                              "styles": {
+                                "icon": [
+                                  {
+                                    "color": "var(--state-icon-color)"
+                                  }
+                                ]
+                              }
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x000474000159053e",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_button",
+                              "entity": "switch.0x000474000159053e_led_in_dark",
+                              "icon": "mdi:lightbulb"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_button",
+                              "entity": "switch.0x000474000159053e_led_if_on",
+                              "icon": "mdi:lightbulb"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            }
+          ]
         }
       ],
       "button_card_templates": {
diff --git a/packages/BTicino/300eos.yaml b/packages/BTicino/300eos.yaml
new file mode 100644 (file)
index 0000000..3210f59
--- /dev/null
@@ -0,0 +1,96 @@
+######################################################################
+# BTcino Classe 300eos with Netatmo - Input boolean
+######################################################################
+
+input_boolean:
+  portone:
+    name: "Portone"
+    initial: false
+    icon: mdi:door
+
+######################################################################
+# BTcino Classe 300eos with Netatmo - Switch
+######################################################################
+
+switch:
+  - platform: template
+    switches:
+      portone:
+        value_template: "{{ is_state('input_boolean.portone', 'on') }}"
+        icon_template: mdi:door
+        turn_on:
+          - service: input_boolean.turn_on
+            target:
+              entity_id: input_boolean.portone
+          - delay: 1
+          - service: input_boolean.turn_off
+            target:
+              entity_id: input_boolean.portone
+        turn_off:
+          service: input_boolean.turn_off
+          target:
+            entity_id: input_boolean.portone
+
+######################################################################
+# BTcino Classe 300eos with Netatmo - Lock
+######################################################################
+
+#lock:
+#  - platform: template
+#    name: Portone
+#    value_template: "{{ is_state('input_boolean.portone', 'off') }}"
+#    lock:
+#      service: input_boolean.turn_off
+#      target:
+#        entity_id: input_boolean.portone
+#    unlock:
+#      - service: input_boolean.turn_on
+#        target:
+#          entity_id: input_boolean.portone
+#      - delay: 1
+#      - service: input_boolean.turn_off
+#        target:
+#          entity_id: input_boolean.portone
+
+######################################################################
+# BTcino Classe 300eos with Netatmo - Google Assistant
+######################################################################
+
+google_assistant:
+  entity_config:
+    switch.portone:
+      name: Portone
+      expose: true
+      room: Condominio
+
+######################################################################
+# BTcino Classe 300eos with Netatmo - Amazon Alexa
+######################################################################
+
+alexa:
+  smart_home:
+    filter:
+      include_entities:
+        - switch.portone
+    entity_config:
+      switch.portone:
+        name: "Routine Portone"
+        description: "Routine per l'apertura del portone condominiale"
+
+######################################################################
+# BTcino Classe 300eos with Netatmo - Logbook
+######################################################################
+
+#logbook:
+#  exclude:
+#    entities:
+#      - lock.portone
+
+######################################################################
+# BTcino Classe 300eos with Netatmo - Recorder
+######################################################################
+
+#recorder:
+#  exclude:
+#    entities:
+#      - lock.portone
diff --git a/packages/bticino_300eos.yaml b/packages/bticino_300eos.yaml
deleted file mode 100644 (file)
index 3210f59..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-######################################################################
-# BTcino Classe 300eos with Netatmo - Input boolean
-######################################################################
-
-input_boolean:
-  portone:
-    name: "Portone"
-    initial: false
-    icon: mdi:door
-
-######################################################################
-# BTcino Classe 300eos with Netatmo - Switch
-######################################################################
-
-switch:
-  - platform: template
-    switches:
-      portone:
-        value_template: "{{ is_state('input_boolean.portone', 'on') }}"
-        icon_template: mdi:door
-        turn_on:
-          - service: input_boolean.turn_on
-            target:
-              entity_id: input_boolean.portone
-          - delay: 1
-          - service: input_boolean.turn_off
-            target:
-              entity_id: input_boolean.portone
-        turn_off:
-          service: input_boolean.turn_off
-          target:
-            entity_id: input_boolean.portone
-
-######################################################################
-# BTcino Classe 300eos with Netatmo - Lock
-######################################################################
-
-#lock:
-#  - platform: template
-#    name: Portone
-#    value_template: "{{ is_state('input_boolean.portone', 'off') }}"
-#    lock:
-#      service: input_boolean.turn_off
-#      target:
-#        entity_id: input_boolean.portone
-#    unlock:
-#      - service: input_boolean.turn_on
-#        target:
-#          entity_id: input_boolean.portone
-#      - delay: 1
-#      - service: input_boolean.turn_off
-#        target:
-#          entity_id: input_boolean.portone
-
-######################################################################
-# BTcino Classe 300eos with Netatmo - Google Assistant
-######################################################################
-
-google_assistant:
-  entity_config:
-    switch.portone:
-      name: Portone
-      expose: true
-      room: Condominio
-
-######################################################################
-# BTcino Classe 300eos with Netatmo - Amazon Alexa
-######################################################################
-
-alexa:
-  smart_home:
-    filter:
-      include_entities:
-        - switch.portone
-    entity_config:
-      switch.portone:
-        name: "Routine Portone"
-        description: "Routine per l'apertura del portone condominiale"
-
-######################################################################
-# BTcino Classe 300eos with Netatmo - Logbook
-######################################################################
-
-#logbook:
-#  exclude:
-#    entities:
-#      - lock.portone
-
-######################################################################
-# BTcino Classe 300eos with Netatmo - Recorder
-######################################################################
-
-#recorder:
-#  exclude:
-#    entities:
-#      - lock.portone
diff --git a/www/images/devices/BTicino/classe300eos.png b/www/images/devices/BTicino/classe300eos.png
new file mode 100644 (file)
index 0000000..c6d284f
Binary files /dev/null and b/www/images/devices/BTicino/classe300eos.png differ
diff --git a/www/images/devices/classe300eos.png b/www/images/devices/classe300eos.png
deleted file mode 100644 (file)
index c6d284f..0000000
Binary files a/www/images/devices/classe300eos.png and /dev/null differ