From 2b78aa02edcfd9017fd16f5bfe426a8c7991cabc Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Mon, 20 Apr 2020 02:32:44 +0300 Subject: [PATCH] Align state icons --- .../picture_elements/light_switches.yaml | 4 ++-- .../floorplan-dashboard/picture_elements/sensors.yaml | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/config/lovelace/floorplan-dashboard/picture_elements/light_switches.yaml b/config/lovelace/floorplan-dashboard/picture_elements/light_switches.yaml index 0b7f85b..306d971 100644 --- a/config/lovelace/floorplan-dashboard/picture_elements/light_switches.yaml +++ b/config/lovelace/floorplan-dashboard/picture_elements/light_switches.yaml @@ -30,7 +30,7 @@ template: floorplan_state_icon variables: - entity: light.tuya_kitchen_secondary_lights - - top: 28% + - top: 29% - left: 12.9% - type: custom:decluttering-card @@ -44,7 +44,7 @@ template: floorplan_state_icon variables: - entity: light.tuya_hallway_entrance_lights - - top: 26% + - top: 25% - left: 50.2% - type: custom:decluttering-card diff --git a/config/lovelace/floorplan-dashboard/picture_elements/sensors.yaml b/config/lovelace/floorplan-dashboard/picture_elements/sensors.yaml index 62091e9..2d391dd 100644 --- a/config/lovelace/floorplan-dashboard/picture_elements/sensors.yaml +++ b/config/lovelace/floorplan-dashboard/picture_elements/sensors.yaml @@ -13,11 +13,12 @@ # Platinum - type: custom:decluttering-card - template: floorplan_state_icon + template: floorplan_state_with_icon variables: - entity: sensor.synology_dsm_type_volume_1 - top: 54% - left: 75% + - icon: mdi:nas - tap_action: action: more-info @@ -66,7 +67,7 @@ variables: - entity: fan.philips_airpurifier - top: 44.5% - - left: 62% + - left: 61.6% # Sonos - type: custom:decluttering-card @@ -102,7 +103,7 @@ entity: sensor.bedroom_weather_temperature style: top: 38% - left: 74% + left: 75% color: "#000" border-radius: 6px text-align: center @@ -142,7 +143,7 @@ template: floorplan_state_with_icon variables: - entity: media_player.bathroom - - top: 26% + - top: 25% - left: 39% - icon: mdi:speaker - tap_action: