]> git.giorgioravera.it Git - homeassistant.git/commitdiff
re-added liquid consumption start in mercedes package
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 27 Jan 2021 14:55:31 +0000 (15:55 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Wed, 27 Jan 2021 14:55:31 +0000 (15:55 +0100)
.storage/lovelace
packages/mercedes/mercedes_customizations.yaml
packages/mercedes/mercedes_odometer.yaml

index 216516dbc9cd5601602026f96a9f1557ab1c2e55..2535a4bc55dd30408b4a294d93dd58bb55b4cf7f 100644 (file)
                                 {
                                     "entity": "sensor.ff590mr_fuel_level"
                                 },
+                                {
+                                    "entity": "sensor.ff590mr_liquid_consumption_start"
+                                },
                                 {
                                     "entity": "sensor.ff590mr_liquid_consumption_reset"
                                 },
index 8e0d60c86eab85223627edf2506d77455883e75a..994df45f035e911bba1cbb6720478f89bc9b01e7 100644 (file)
@@ -42,7 +42,7 @@ homeassistant:
       device_class: problem
       #icon: mdi:car-tire-alert
       # tirepressureRearLeft, tirepressureRearRight, tirepressureFrontRight, tirepressureFrontLeft, 
-      # tireMarkerFrontRight, tireMarkerFrontLeft, tireMarkerRearLeft, tireMarkerRearRight, tirewarningsrdk, tirewarningsprw,  
+      # tireMarkerFrontRight, tireMarkerFrontLeft,tireMarkerRearLeft, tireMarkerRearRight, tirewarningsrdk, tirewarningsprw
 
     # Finestrini
     binary_sensor.ff590mr_windows_closed:
@@ -71,10 +71,10 @@ homeassistant:
     sensor.ff590mr_lock:
       friendly_name: Veicolo
       icon: mdi:lock-open
-      # doorStateFrontLeft, doorStateFrontRight, doorStateRearLeft, doorStateRearRight, 
-      # frontLeftDoorLocked, frontRightDoorLocked, rearLeftDoorLocked, rearRightDoorLocked, 
-      # frontLeftDoorClosed, frontRightDoorClosed, rearLeftDoorClosed, rearRightDoorClosed, 
-      # doorsClosed, trunkStateRollup, sunroofstatus, fuelLidClosed, engineHoodClosed
+      # doorLockStatusOverall, doorlockstatusvehicle, doorStatusOverall,
+      # doorlockstatusfrontleft,doorlockstatusfrontright, doorlockstatusrearleft, doorlockstatusrearright, doorlockstatusdecklid, doorlockstatusgas,
+      # doorstatusrearleft, doorstatusfrontright, doorstatusrearright, doorstatusfrontleft, decklidstatus,
+      # rooftopstatus, sunroofstatus
       
     # Odometria
     sensor.ff590mr_odometer:
index f834378dacaef32c027c289b2d1155f3ebc0d440..7d118c1f1d02766fdd8b9b6545a578dd6de541bc 100644 (file)
@@ -28,13 +28,13 @@ sensor:
   ######################################################################
   # Sensor: Liquid Consumption from Start
   ######################################################################
-  #- platform: template
-  #  sensors:
-  #    ff590mr_liquid_consumption_start:
-  #      friendly_name: Consumo dalla partenza
-  #      unit_of_measurement: 'l/100Km'
-  #      value_template: "{{ state_attr('sensor.ff590mr_odometer', 'liquidconsumptionstart') }}"
-  #      icon_template: mdi:gas-station
+  - platform: template
+    sensors:
+      ff590mr_liquid_consumption_start:
+        friendly_name: Consumo dalla partenza
+        unit_of_measurement: 'l/100Km'
+        value_template: "{{ state_attr('sensor.ff590mr_odometer', 'liquidconsumptionstart') }}"
+        icon_template: mdi:gas-station
 
   ######################################################################
   # Sensor: Liquid Consumption from Reset