diff --git a/ui_lovelace_minimalist/dashboard/views/home.yaml b/ui_lovelace_minimalist/dashboard/views/home.yaml index 241cb31..9d6d6df 100644 --- a/ui_lovelace_minimalist/dashboard/views/home.yaml +++ b/ui_lovelace_minimalist/dashboard/views/home.yaml @@ -56,21 +56,20 @@ cards: variables: ulm_card_person_entity: person.iris ulm_card_person_use_entity_picture: true - - type: grid - columns: 6 + - type: horizontal-stack cards: - type: 'custom:button-card' template: chip_mdi_icon_only variables: ulm_chip_mdi_icon_state_entity: calendar.home_assistant_garbagebin ulm_chip_mdi_icon_only_icon: mdi:trash-can - ulm_chip_mdi_icon_only_icon_color: "[[[ return states['calendar.home_assistant_garbagebin'].state == 'off' ? 'green' : 'red' ]]]" + ulm_chip_mdi_icon_only_icon_color: "[[[ return states['calendar.home_assistant_garbagebin'].state == 'off' ? 'gray' : 'red' ]]]" - type: 'custom:button-card' template: chip_mdi_icon_only variables: ulm_chip_mdi_icon_state_entity: inner_storage_water_leak - ulm_chip_mdi_icon_only_icon: mdi-water - ulm_chip_mdi_icon_only_icon_color: "[[[ return states['inner_storage_water_leak'].state == 'off' ? 'blue' : 'red' ]]]" + ulm_chip_mdi_icon_only_icon: "[[[ return states['binary_sensor.inner_storage_water_leak'].state == 'off' ? 'mdi:water' : 'mdi:water-alert' ]]]" + ulm_chip_mdi_icon_only_icon_color: "[[[ return states['binary_sensor.inner_storage_water_leak'].state == 'off' ? 'gray' : 'red' ]]]" - type: 'custom:button-card' template: card_title