]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Modification in lovelace due to new mercedes integration & netatmo improvements
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Fri, 1 Jan 2021 20:18:34 +0000 (21:18 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Fri, 1 Jan 2021 20:18:34 +0000 (21:18 +0100)
.storage/lovelace
packages/mercedes/mercedes_log.yaml
packages/mercedes/mercedes_sensor.yaml

index ed6c350b69fdae8da8af058f165c08ff91a53fe5..4c74282b78e321621da1b66c1fc551b4be2db6e2 100644 (file)
@@ -6,6 +6,9 @@
             "title": "Panoramica",
             "views": [
                 {
+                    "icon": "mdi:home",
+                    "id": "main",
+                    "title": "Principale",
                     "badges": [
                         {
                             "entity": "person.giorgio"
@@ -14,7 +17,7 @@
                             "entity": "person.laura"
                         },
                         {
-                            "entity": "device_tracker.wdd1760081v167576"
+                            "entity": "device_tracker.ff590mr_device_tracker"
                         },
                         {
                             "entity": "sensor.time"
                             ],
                             "type": "vertical-stack"
                         }
-                    ],
-                    "icon": "mdi:home",
-                    "id": "main",
-                    "title": "Principale"
+                    ]
                 },
                 {
                     "badges": [
                             "type": "thermostat"
                         },
                         {
+                            "type": "entities",
                             "entities": [
                                 {
-                                    "action_name": "Attiva Boost",
-                                    "name": "Cucina",
-                                    "service": "script.climate_valve_boost",
-                                    "service_data": {
-                                        "entity_id": "climate.netatmo_cucina"
-                                    },
-                                    "type": "call-service"
+                                    "entity": "input_boolean.boost_valvola_cucina"
                                 },
                                 {
-                                    "action_name": "Attiva Boost",
-                                    "name": "Sala",
-                                    "service": "script.climate_valve_boost",
-                                    "service_data": {
-                                        "entity_id": "climate.netatmo_sala"
-                                    },
-                                    "type": "call-service"
+                                    "entity": "input_boolean.boost_valvola_sala"
                                 },
                                 {
-                                    "action_name": "Attiva Boost",
-                                    "name": "Bagno",
-                                    "service": "script.climate_valve_boost",
-                                    "service_data": {
-                                        "entity_id": "climate.netatmo_bagno"
-                                    },
-                                    "type": "call-service"
+                                    "entity": "input_boolean.boost_valvola_studio"
                                 },
                                 {
-                                    "action_name": "Attiva Boost",
-                                    "name": "Studio",
-                                    "service": "script.climate_valve_boost",
-                                    "service_data": {
-                                        "entity_id": "climate.netatmo_studio"
-                                    },
-                                    "type": "call-service"
+                                    "entity": "input_boolean.boost_valvola_bagno"
                                 },
                                 {
-                                    "action_name": "Attiva Boost",
-                                    "name": "Camera",
-                                    "service": "script.climate_valve_boost",
-                                    "service_data": {
-                                        "entity_id": "climate.netatmo_camera_da_letto"
-                                    },
-                                    "type": "call-service"
+                                    "entity": "input_boolean.boost_valvola_camera_da_letto"
                                 }
                             ],
                             "show_header_toggle": false,
-                            "title": "Operazioni",
-                            "type": "entities"
+                            "title": "Modalit\u00e0 Boost"
+                        },
+                        {
+                            "type": "entities",
+                            "entities": [
+                                {
+                                    "entity": "input_boolean.valvola_cucina"
+                                },
+                                {
+                                    "entity": "input_boolean.valvola_sala"
+                                },
+                                {
+                                    "entity": "input_boolean.valvola_studio"
+                                },
+                                {
+                                    "entity": "input_boolean.valvola_bagno"
+                                },
+                                {
+                                    "entity": "input_boolean.valvola_camera_da_letto"
+                                }
+                            ],
+                            "title": "Accensione / Spegnimento",
+                            "show_header_toggle": false
+                        },
+                        {
+                            "type": "entities",
+                            "title": "Stato Valvole Netatmo",
+                            "entities": [
+                                {
+                                    "entity": "sensor.valve_cucina_state",
+                                    "name": "Cucina"
+                                },
+                                {
+                                    "entity": "sensor.valve_sala_state",
+                                    "name": "Sala"
+                                },
+                                {
+                                    "entity": "sensor.valve_studio_state",
+                                    "name": "Studio"
+                                },
+                                {
+                                    "entity": "sensor.valve_bagno_state",
+                                    "name": "Bagno"
+                                },
+                                {
+                                    "entity": "sensor.valve_camera_da_letto_state",
+                                    "name": "Camera"
+                                }
+                            ]
                         },
                         {
                             "type": "history-graph",
                             "hours_to_show": 24,
                             "refresh_interval": 0,
                             "title": "Valvola Camera"
-                        },
-                        {
-                            "type": "entities",
-                            "title": "Stato Valvole Netatmo",
-                            "entities": [
-                                {
-                                    "entity": "sensor.valve_cucina_state",
-                                    "name": "Cucina"
-                                },
-                                {
-                                    "entity": "sensor.valve_sala_state",
-                                    "name": "Sala"
-                                },
-                                {
-                                    "entity": "sensor.valve_studio_state",
-                                    "name": "Studio"
-                                },
-                                {
-                                    "entity": "sensor.valve_bagno_state",
-                                    "name": "Bagno"
-                                },
-                                {
-                                    "entity": "sensor.valve_camera_da_letto_state",
-                                    "name": "Camera"
-                                }
-                            ]
                         }
                     ]
                 },
                     "title": "People"
                 },
                 {
+                    "icon": "mdi:car",
+                    "id": "car",
+                    "title": "Auto",
                     "badges": [
-                        "device_tracker.wdd1760081v167576",
-                        "sensor.ff590mr_odometer",
-                        "sensor.ff590mr_fuel_level",
-                        "binary_sensor.ff590mr_locked",
-                        "binary_sensor.ff590mr_doors_closed",
-                        "binary_sensor.ff590mr_windows_closed_2"
+                        {
+                            "entity": "device_tracker.ff590mr_device_tracker"
+                        },
+                        {
+                            "entity": "sensor.ff590mr_odometer"
+                        },
+                        {
+                            "entity": "sensor.ff590mr_fuel_level"
+                        },
+                        {
+                            "entity": "binary_sensor.ff590mr_locked"
+                        },
+                        {
+                            "entity": "binary_sensor.ff590mr_doors_closed"
+                        },
+                        {
+                            "entity": "binary_sensor.ff590mr_windows_closed_2"
+                        }
                     ],
                     "cards": [
                         {
                             "entities": [
-                                "switch.ff590mr_lock",
-                                "binary_sensor.ff590mr_doors_closed",
-                                "binary_sensor.ff590mr_windows_closed_2"
+                                {
+                                    "entity": "binary_sensor.ff590mr_locked"
+                                },
+                                {
+                                    "entity": "binary_sensor.ff590mr_doors_closed"
+                                },
+                                {
+                                    "entity": "binary_sensor.ff590mr_windows_closed_2"
+                                }
                             ],
                             "show_header_toggle": false,
                             "title": "Mercedes A200d: Sensori",
                         },
                         {
                             "entities": [
-                                "binary_sensor.ff590mr_door_front_left",
-                                "binary_sensor.ff590mr_door_front_right",
-                                "binary_sensor.ff590mr_door_rear_left",
-                                "binary_sensor.ff590mr_door_rear_right",
-                                "binary_sensor.ff590mr_trunk",
-                                "binary_sensor.ff590mr_fuel_lid"
+                                {
+                                    "entity": "binary_sensor.ff590mr_door_front_left"
+                                },
+                                {
+                                    "entity": "binary_sensor.ff590mr_door_front_right"
+                                },
+                                {
+                                    "entity": "binary_sensor.ff590mr_door_rear_left"
+                                },
+                                {
+                                    "entity": "binary_sensor.ff590mr_door_rear_right"
+                                },
+                                {
+                                    "entity": "binary_sensor.ff590mr_fuel_lid"
+                                }
                             ],
                             "show_header_toggle": false,
                             "title": "Mercedes A200d: Porte",
                         },
                         {
                             "entities": [
-                                "sensor.ff590mr_odometer",
-                                "sensor.ff590mr_distance_since_start",
-                                "sensor.ff590mr_distance_since_reset",
-                                "sensor.ff590mr_fuel_level",
-                                "sensor.ff590mr_liquid_consumption_start",
-                                "sensor.ff590mr_liquid_consumption_reset",
-                                "sensor.ff590mr_service_interval_days"
+                                {
+                                    "entity": "sensor.ff590mr_odometer"
+                                },
+                                {
+                                    "entity": "sensor.ff590mr_distance_since_start"
+                                },
+                                {
+                                    "entity": "sensor.ff590mr_distance_since_reset"
+                                },
+                                {
+                                    "entity": "sensor.ff590mr_fuel_level"
+                                },
+                                {
+                                    "entity": "sensor.ff590mr_liquid_consumption_reset"
+                                },
+                                {
+                                    "entity": "sensor.ff590mr_service_interval_days"
+                                }
                             ],
                             "show_header_toggle": false,
                             "title": "Mercedes A200d: Dati",
                             "aspect_ratio": 969,
                             "default_zoom": 15,
                             "entities": [
-                                "device_tracker.wdd1760081v167576"
+                                "device_tracker.ff590mr_device_tracker"
                             ],
                             "type": "map"
                         }
-                    ],
-                    "icon": "mdi:car",
-                    "id": "car",
-                    "title": "Auto"
+                    ]
                 },
                 {
                     "badges": [
index 639075111f31150fdb4fc87e7a58bc6704f18705..3fa36d0c17127fb898b0629284179ed604786778 100644 (file)
@@ -43,6 +43,7 @@ history:
 ######################################################################\r
 # Mercedes Package - Logbook\r
 ######################################################################\r
+\r
 logbook:\r
   exclude:\r
     entities:\r
@@ -84,6 +85,7 @@ logbook:
 ######################################################################\r
 # Mercedes Package - Recorder\r
 ######################################################################\r
+\r
 recorder:\r
   exclude:\r
     entities:\r
index 9a5d9e92b59391df1525fafa66eb18a5791423f0..822f27b79f7e52e1e8719fa17c855ac34ebc9764 100644 (file)
@@ -51,96 +51,6 @@ sensor:
         icon_template: mdi:car-tire-alert
         device_class: pressure
 
-  ######################################################################
-  # Sensor: Door Front Left
-  ######################################################################
-  #- platform: template
-  #  sensors:
-  #    ff590mr_door_front_left:
-  #      friendly_name: Anteriore Sinistra
-  #      entity_id: sensor.ff590mr_lock
-  #      value_template: >-
-  #        {% if is_state_attr('sensor.ff590mr_lock', 'doorStateFrontLeft', 'DOOR_CLOSED_AND_DOOR_LOCKED') %}
-  #          Chiusa e Bloccata
-  #        {% elif is_state_attr('sensor.ff590mr_lock', 'doorStateFrontLeft', 'DOOR_CLOSED_AND_DOOR_UNLOCKED') %}
-  #          Chiuse
-  #        {% else %}
-  #          Aperta
-  #        {% endif %}
-  #      icon_template: mdi:car-door
-
-  ######################################################################
-  # Sensor: Door Front Right
-  ######################################################################
-  #- platform: template
-  #  sensors:
-  #    ff590mr_door_front_right:
-  #      friendly_name: Anteriore Destra
-  #      entity_id: sensor.ff590mr_lock
-  #      value_template: >-
-  #        {% if is_state_attr('sensor.ff590mr_lock', 'doorStateFrontRight', 'DOOR_CLOSED_AND_DOOR_LOCKED') %}
-  #          Chiusa e Bloccata
-  #        {% elif is_state_attr('sensor.ff590mr_lock', 'doorStateFrontRight', 'DOOR_CLOSED_AND_DOOR_UNLOCKED') %}
-  #          Chiuse
-  #        {% else %}
-  #          Aperta
-  #        {% endif %}
-  #      icon_template: mdi:car-door
-
-  ######################################################################
-  # Sensor: Door Rear Left
-  ######################################################################
-  #- platform: template
-  #  sensors:
-  #    ff590mr_door_rear_left:
-  #      friendly_name: Posteriore Sinistra
-  #      entity_id: sensor.ff590mr_lock
-  #      value_template: >-
-  #        {% if is_state_attr('sensor.ff590mr_lock', 'doorStateRearLeft', 'DOOR_CLOSED_AND_DOOR_LOCKED') %}
-  #          Chiusa e Bloccata
-  #        {% elif is_state_attr('sensor.ff590mr_lock', 'doorStateRearLeft', 'DOOR_CLOSED_AND_DOOR_UNLOCKED') %}
-  #          Chiuse
-  #        {% else %}
-  #          Aperta
-  #        {% endif %}
-  #      icon_template: mdi:car-door
-
-  ######################################################################
-  # Sensor: Door Rear Right
-  ######################################################################
-  #- platform: template
-  #  sensors:
-  #    ff590mr_door_rear_right:
-  #      friendly_name: Posteriore Destra
-  #      entity_id: sensor.ff590mr_lock
-  #      value_template: >-
-  #        {% if is_state_attr('sensor.ff590mr_lock', 'doorStateRearRight', 'DOOR_CLOSED_AND_DOOR_LOCKED') %}
-  #          Chiusa e Bloccata
-  #        {% elif is_state_attr('sensor.ff590mr_lock', 'doorStateRearRight', 'DOOR_CLOSED_AND_DOOR_UNLOCKED') %}
-  #          Chiuse
-  #        {% else %}
-  #          Aperta
-  #        {% endif %}
-  #      icon_template: mdi:car-door
-
-  ######################################################################
-  # Sensor: Trunk
-  ######################################################################
-  #- platform: template
-  #  sensors:
-  #    ff590mr_trunk:
-  #      friendly_name: Bagagliaio
-  #      entity_id: sensor.ff590mr_lock
-  #      value_template: >-
-  #        {% if is_state_attr('sensor.ff590mr_lock', 'trunkStateRollup', 'CLOSED_AND_LOCKED') %}
-  #          Chiuso e Bloccato
-  #        {% elif is_state_attr('sensor.ff590mr_lock', 'trunkStateRollup', 'CLOSED_AND_UNLOCKED') %}
-  #          Chiuso
-  #        {% else %}
-  #          Aperto
-  #        {% endif %}
-  #      icon_template: mdi:car-door
-
   ######################################################################
   # Sensor: Distance from Start
   ######################################################################