]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Modification to pictures
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 21 Apr 2019 12:51:08 +0000 (14:51 +0200)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 21 Apr 2019 12:51:08 +0000 (14:51 +0200)
ui-lovelace.yaml
www/rooms/bagno.jpg [deleted file]
www/rooms/cucina_off.jpg
www/rooms/cucina_on.jpg
www/rooms/sala.jpg [deleted file]
www/rooms/sala_off.jpg [new file with mode: 0644]
www/rooms/sala_on.jpg [new file with mode: 0644]

index dba40469fc0237af1c9df5784761bfc54f2c64b4..bfa5579ded11fef22e4ad2d211d067189aa14485 100644 (file)
@@ -37,7 +37,10 @@ views:
     - type: picture-glance
       title: Sala
       show_state: true
-      image: /local/rooms/sala.jpg
+      state_image:
+        "on": /local/rooms/sala_on.jpg
+        "off": /local/rooms/sala_off.jpg
+      entity: light.luce_divano
       entities: 
       - light.luce_divano
       - light.luce_divano_bianca
diff --git a/www/rooms/bagno.jpg b/www/rooms/bagno.jpg
deleted file mode 100644 (file)
index 7567456..0000000
Binary files a/www/rooms/bagno.jpg and /dev/null differ
index d095e0d67ba97edbbdccb313e4ab6a2e20dfd067..47ba57bb808a5e57abb5905218d1a1be4d43087c 100644 (file)
Binary files a/www/rooms/cucina_off.jpg and b/www/rooms/cucina_off.jpg differ
index 5e036747d7cbe49c2e6876533acf7515c1ebd91f..de66d9eac95a812c1a22e32932f4db426d95e12c 100644 (file)
Binary files a/www/rooms/cucina_on.jpg and b/www/rooms/cucina_on.jpg differ
diff --git a/www/rooms/sala.jpg b/www/rooms/sala.jpg
deleted file mode 100644 (file)
index b73a09c..0000000
Binary files a/www/rooms/sala.jpg and /dev/null differ
diff --git a/www/rooms/sala_off.jpg b/www/rooms/sala_off.jpg
new file mode 100644 (file)
index 0000000..05005c2
Binary files /dev/null and b/www/rooms/sala_off.jpg differ
diff --git a/www/rooms/sala_on.jpg b/www/rooms/sala_on.jpg
new file mode 100644 (file)
index 0000000..3c8d297
Binary files /dev/null and b/www/rooms/sala_on.jpg differ