]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Upgraded homeassistant version and minor changes to car customizations
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 21 Feb 2019 10:11:54 +0000 (11:11 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 21 Feb 2019 12:22:56 +0000 (13:22 +0100)
binary_sensor/car.yaml
customizations/car.yaml
sensor/speedtest.yaml [deleted file]
sensor/speedtest.yaml.disabled [new file with mode: 0644]
sensor/weather.yaml

index 7edaaf1a91b1d1bb734f2af25e8c8a5346e3dbf3..e26d2210c62139d6fabfa53acc4557c9a1ed1f17 100644 (file)
@@ -6,9 +6,10 @@
   sensors:
     car_doors_lock:
       friendly_name: Vettura Bloccata
+      device_class: lock
       entity_id: sensor.ff590mr_door_lock_vehicle
       value_template: >-
-        {{ is_state('sensor.ff590mr_door_lock_vehicle', '2') }}
+        {{ not is_state('sensor.ff590mr_door_lock_vehicle', '2') }}
       icon_template: >-
         {% if is_state('sensor.ff590mr_door_lock_vehicle', '2') %}
           mdi:lock
   sensors:
     car_windows_lock:
       friendly_name: Chiusura Finestrini
+      device_class: lock
       entity_id: 
         - sensor.ff590mr_window_front_left 
         - sensor.ff590mr_window_front_right
         - sensor.ff590mr_window_rear_left
         - sensor.ff590mr_window_rear_right
       value_template: >-
-        {{ is_state('sensor.ff590mr_window_front_left', '2') 
+        {{ not (is_state('sensor.ff590mr_window_front_left', '2') 
            and is_state('sensor.ff590mr_window_front_right', '2')
            and is_state('sensor.ff590mr_window_rear_left', '2')
-           and is_state('sensor.ff590mr_window_rear_right', '2') }}
+           and is_state('sensor.ff590mr_window_rear_right', '2') }}
       icon_template: >-
         {% if is_state('sensor.ff590mr_window_front_left', '2') 
            and is_state('sensor.ff590mr_window_front_right', '2')
index ce562f01f998387994222ebcca4e9ee4fb89d386..c9f3339050ba44d60f35f373512015afc807b939 100644 (file)
@@ -5,12 +5,14 @@
 # Sensori
 binary_sensor.ff590mr_decklid_status:
   friendly_name: Bagagliaio
+  device_class: opening
 binary_sensor.ff590mr_warning_washwater:
   friendly_name: Liquido lavacristalli
 binary_sensor.ff590mr_warning_breakfluid:
   friendly_name: Liquido freni
 binary_sensor.ff590mr_parkbreak_status:
   friendly_name: Freno a mano
+  device_class: plug
   icon: mdi:car-brake-parking
 binary_sensor.ff590mr_warning_engine_light:
   friendly_name: Allarme Motore
diff --git a/sensor/speedtest.yaml b/sensor/speedtest.yaml
deleted file mode 100644 (file)
index ee108c0..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-######################################################################
-# Speed Test Sensor
-######################################################################
-
-- platform: speedtest
-  minute: 0
-  hour:
-    - 0
-    - 6
-    - 12
-    - 18
-  monitored_conditions:
-    - ping
-    - download
-    - upload
diff --git a/sensor/speedtest.yaml.disabled b/sensor/speedtest.yaml.disabled
new file mode 100644 (file)
index 0000000..ee108c0
--- /dev/null
@@ -0,0 +1,15 @@
+######################################################################
+# Speed Test Sensor
+######################################################################
+
+- platform: speedtest
+  minute: 0
+  hour:
+    - 0
+    - 6
+    - 12
+    - 18
+  monitored_conditions:
+    - ping
+    - download
+    - upload
index 3b9d630fb4fe3c5d11109bbec40e2c0cb823986a..842267e3070b4b92d095efa8b99535dffb2d6a61 100644 (file)
@@ -47,4 +47,4 @@
     - temperature_low
     - uv_index
   units: si
-  update_interval: 02:00
+  scan_interval: 02:00