From: Giorgio Ravera Date: Fri, 4 Dec 2020 10:12:17 +0000 (+0100) Subject: Review lovelace devices panel X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=f0a1129f0c4e6d18527b6e30ed463b4048116ab5;p=homeassistant.git Review lovelace devices panel --- diff --git a/.storage/lovelace.lovelace_dispositivi b/.storage/lovelace.lovelace_dispositivi index c2a79fc4..25c57610 100644 --- a/.storage/lovelace.lovelace_dispositivi +++ b/.storage/lovelace.lovelace_dispositivi @@ -8,80 +8,94 @@ "title": "NAS", "path": "nas", "icon": "mdi:nas", + "panel": true, "badges": [], "cards": [ { + "type": "custom:layout-card", + "layout": "vertical", "cards": [ { - "entities": [ - "switch.nas", - "script.plex_start", - "script.plex_stop" - ], - "show_header_toggle": false, + "type": "vertical-stack", "title": "NAS QNAP TS-228A", - "type": "entities" - } - ], - "type": "vertical-stack" - } - ] - }, - { - "title": "Stampanti", - "path": "stampanti", - "icon": "mdi:printer", - "panel": false, - "badges": [], - "cards": [ - { - "type": "custom:bar-card", - "entities": [ - { - "entity": "sensor.canon_tr8500_series_black_bk", - "name": "BK", - "color": "black", - "width": "85%" + "cards": [ + { + "type": "picture", + "image": "/local/images/devices/qnap_ts228a.png" + }, + { + "type": "entities", + "show_header_toggle": false, + "entities": [ + "switch.nas", + "script.plex_start", + "script.plex_stop" + ] + } + ] }, + "break", { - "entity": "sensor.canon_tr8500_series_black_pgbk", - "name": "PGBK", - "color": "black", - "width": "85%" - }, - { - "entity": "sensor.canon_tr8500_series_cyan", - "name": "C", - "color": "cyan", - "width": "85%" - }, - { - "entity": "sensor.canon_tr8500_series_magenta", - "name": "M", - "color": "magenta", - "width": "85%" - }, - { - "entity": "sensor.canon_tr8500_series_yellow", - "name": "Y", - "color": "yellow", - "width": "85%" + "type": "vertical-stack", + "title": "Canon PIXMA TR8550", + "cards": [ + { + "type": "picture", + "title": "Canon PIXMA TR8550", + "image": "/local/images/devices/canon_tr8550.png" + }, + { + "type": "entity", + "entity": "sensor.canon_tr8500_series", + "name": "Stato" + }, + { + "type": "custom:bar-card", + "entities": [ + { + "entity": "sensor.canon_tr8500_series_black_bk", + "name": "BK", + "color": "black", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_black_pgbk", + "name": "PGBK", + "color": "black", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_cyan", + "name": "C", + "color": "cyan", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_magenta", + "name": "M", + "color": "magenta", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_yellow", + "name": "Y", + "color": "yellow", + "width": "85%" + } + ], + "title": "Livello Inchiostro", + "show_header_toggle": false, + "state_color": false, + "positions": { + "icon": "off", + "indicator": "off", + "name": "outside", + "value": "outside" + } + } + ] } - ], - "title": "Canon TR8550: Livello Inchiostro", - "show_header_toggle": false, - "state_color": false, - "positions": { - "icon": "off", - "indicator": "off", - "name": "outside", - "value": "outside" - } - }, - { - "type": "entity", - "entity": "sensor.canon_tr8500_series", - "name": "Canon TR8550: Stato" + ] } ] }, diff --git a/www/images/devices/canon_tr8550.png b/www/images/devices/canon_tr8550.png new file mode 100644 index 00000000..3833596a Binary files /dev/null and b/www/images/devices/canon_tr8550.png differ diff --git a/www/images/devices/qnap_ts228a.png b/www/images/devices/qnap_ts228a.png new file mode 100644 index 00000000..b7b5739f Binary files /dev/null and b/www/images/devices/qnap_ts228a.png differ