]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Review images and light names
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 23 Apr 2019 08:11:24 +0000 (10:11 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 23 Apr 2019 08:11:24 +0000 (10:11 +0200)
ui-lovelace.yaml
www/rooms/camera.jpg [deleted file]
www/rooms/camera_off.jpg [new file with mode: 0644]
www/rooms/camera_on.jpg [new file with mode: 0644]

index bfa5579ded11fef22e4ad2d211d067189aa14485..c30e1ad1ba94f1dce89c222a2250baa3e1e9730e 100644 (file)
@@ -4,7 +4,6 @@
 
 title: Casa Ravera-Testa
 views:
-#views: !include_dir_merge_list lovelace/
 
 ######################################################################
 # Main View
@@ -86,7 +85,10 @@ views:
     - type: picture-glance
       title: Camera
       show_state: true
-      image: /local/rooms/camera.jpg
+      state_image:
+        "on": /local/rooms/camera_on.jpg
+        "off": /local/rooms/camera_off.jpg
+      entity: light.luce_camera
       entities: 
       - light.luce_camera
       - cover.tapparella_camera
@@ -125,19 +127,21 @@ views:
       title: Comandi luci
       show_header_toggle: false
       entities:
-        - light.luci_globale
+        - light.luci_casa
         - light.luce_cucina
         - light.luce_corridoio
+        - light.luci_sala
         - light.luce_divano
         - light.luce_divano_bianca
+        - light.luci_bagno
         - light.luce_bagno
         - light.luce_specchio
         - light.luce_studio
         - light.luce_camera
     
     - type: light
-      name: Luci Globale
-      entity: light.luci_globale
+      name: Luci Casa
+      entity: light.luci_casa
 
     - type: light
       name: Luce Cucina
@@ -147,6 +151,10 @@ views:
       name: Luce Corridoio
       entity: light.luce_corridoio
 
+    - type: light
+      name: Luci Sala
+      entity: light.luci_sala
+
     - type: light
       name: Luce Divano
       entity: light.luce_divano
@@ -155,6 +163,10 @@ views:
       name: Luce Divano Bianca
       entity: light.luce_divano_bianca
 
+    - type: light
+      name: Luci Bagno
+      entity: light.luci_bagno
+
     - type: light
       name: Luce Bagno
       entity: light.luce_bagno
@@ -163,6 +175,14 @@ views:
       name: Luce Specchio
       entity: light.luce_specchio
 
+    - type: light
+      name: Luce Studio
+      entity: light.luce_studio
+
+    - type: light
+      name: Luce Camera
+      entity: light.luce_camera
+
 ######################################################################
 # Covers
 ######################################################################
@@ -179,7 +199,7 @@ views:
         title: Comandi tapparelle
         show_header_toggle: false
         entities:
-          - cover.tapparella_globale
+          - cover.tapparelle_casa
           - cover.tapparella_cucina
           - cover.tapparella_sala
           - cover.tapparella_studio
diff --git a/www/rooms/camera.jpg b/www/rooms/camera.jpg
deleted file mode 100644 (file)
index 740be2c..0000000
Binary files a/www/rooms/camera.jpg and /dev/null differ
diff --git a/www/rooms/camera_off.jpg b/www/rooms/camera_off.jpg
new file mode 100644 (file)
index 0000000..1027209
Binary files /dev/null and b/www/rooms/camera_off.jpg differ
diff --git a/www/rooms/camera_on.jpg b/www/rooms/camera_on.jpg
new file mode 100644 (file)
index 0000000..c007851
Binary files /dev/null and b/www/rooms/camera_on.jpg differ