]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Minor changes to people view/group, added shell_scripts and other minor changes
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 19 Feb 2019 13:35:35 +0000 (14:35 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 21 Feb 2019 12:22:34 +0000 (13:22 +0100)
automation/home_assistant.yaml
group/default.yaml
logger.yaml
lovelace/people.yaml
sensor/viaggiatreno.yaml [deleted file]
sensor/viaggiatreno.yaml.disabled [new file with mode: 0644]
shell_scripts/hass_update.sh [new file with mode: 0755]

index 7e3c595a92a782910aeee9191dbd08b01fe949d3..b7c70a27bf1024aa80f1561e23b053cd5560e9dd 100644 (file)
 ######################################################################
 
 - alias: "Home Assistant: Startup automations"
-  initial_state: 'on'
+  initial_state: 'off'
 
   trigger:
     - platform: homeassistant
index 43d204b776b410bb36c8ff1f6e292b78c05a7672..601dc33b86dc72f058d7a6c9987849fd66f5e108 100644 (file)
@@ -5,6 +5,7 @@ default_view:
   entities:
     - device_tracker.google_maps_115265981849847357125
     - device_tracker.google_maps_103158638433668748797
+    - device_tracker.wdd1760081v167576
     - sensor.home_mode
     - group.cucina
     - group.sala
@@ -12,7 +13,7 @@ default_view:
     - group.studio
     - group.camera
     - group.home_mode
-    - gorup.train
+#    - gorup.train
 
 cucina:
   name: Cucina
@@ -60,10 +61,10 @@ home_mode:
     - input_boolean.home_mode_night
     - input_boolean.home_mode_away
 
-train:
-  name: Treni
-  control: hidden
-  entities:
-    - sensor.train_11229
-    - sensor.train_11354
-    - sensor.train_24529
+#train:
+#  name: Treni
+#  control: hidden
+#  entities:
+#    - sensor.train_11229
+#    - sensor.train_11354
+#    - sensor.train_24529
index b9ce1bb9bba2b3f1fff16f1647344bac1c3f4375..7a3723158fec5ef059e327a6d1f1de4803e1acfb 100644 (file)
@@ -8,3 +8,5 @@ logs:
   homeassistant.components.automation: info\r
   homeassistant.components.device_tracker: warn\r
   homeassistant.components.input_text: info\r
+  custom_components.mbwebbeta: warn\r
+  mbwebapppy.controller: warn\r
index 33f49a9166e723109598a4b161ffa9d257da6c33..e8253e9acf61fa8f84860e49026468765eca57d6 100644 (file)
@@ -5,3 +5,25 @@
     - device_tracker.google_maps_115265981849847357125
     - device_tracker.google_maps_103158638433668748797
     - device_tracker.google_maps_113099283296073047871
+
+  cards:
+    - type: map
+      title: Giorgio
+      aspect_ratio: 16:9
+      default_zoom: 5
+      entities:
+      - device_tracker.google_maps_115265981849847357125
+      
+    - type: map
+      title: Laura
+      aspect_ratio: 16:9
+      default_zoom: 15
+      entities:
+      - device_tracker.google_maps_103158638433668748797
+
+    - type: map
+      title: Anna
+      aspect_ratio: 16:9
+      default_zoom: 17
+      entities:
+      - device_tracker.google_maps_113099283296073047871
diff --git a/sensor/viaggiatreno.yaml b/sensor/viaggiatreno.yaml
deleted file mode 100644 (file)
index eda8a71..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-######################################################################
-# Sensor: Train SV - GE SAMP - 7.35
-######################################################################
-
-- platform: viaggiatreno
-  train_id: 11229
-  station_id: S08409
-
-######################################################################
-# Sensor: Train GE SAMP - SV - 17.50
-######################################################################
-
-- platform: viaggiatreno
-  train_id: 11354
-  station_id: S04220
-
-######################################################################
-# Sensor: Train SV - Varazze - 9.10 (sunday)
-######################################################################
-
-- platform: viaggiatreno
-  train_id: 24529
-  station_id: S04220
diff --git a/sensor/viaggiatreno.yaml.disabled b/sensor/viaggiatreno.yaml.disabled
new file mode 100644 (file)
index 0000000..eda8a71
--- /dev/null
@@ -0,0 +1,23 @@
+######################################################################
+# Sensor: Train SV - GE SAMP - 7.35
+######################################################################
+
+- platform: viaggiatreno
+  train_id: 11229
+  station_id: S08409
+
+######################################################################
+# Sensor: Train GE SAMP - SV - 17.50
+######################################################################
+
+- platform: viaggiatreno
+  train_id: 11354
+  station_id: S04220
+
+######################################################################
+# Sensor: Train SV - Varazze - 9.10 (sunday)
+######################################################################
+
+- platform: viaggiatreno
+  train_id: 24529
+  station_id: S04220
diff --git a/shell_scripts/hass_update.sh b/shell_scripts/hass_update.sh
new file mode 100755 (executable)
index 0000000..0cfb30a
--- /dev/null
@@ -0,0 +1,9 @@
+#:/bin/bash
+
+echo "Changed directory to homeassistant home"
+cd
+echo "Activating python environment"
+source bin/activate
+echo "Upgrading homeassistant"
+pip3 install --upgrade homeassistant
+echo "Done"