HI,
using the exact same Tiles setup, HA 90.2 changed from below display in 87.1:
to
as you can see it finally shows the line-through I had always missed in Mac Safari (was there in Google Chrome), so that’s a good thing. It however misplaces the text an icon to be aligned to the top of the tiles.
Would there be an explanation for this? I am still using the original Tiles.
homeassistant:
customize:
input_text.tiles_switches:
custom_ui_state_card: state-card-tiles
config:
columns: 4
row_height: 70px
color_on: '#F0C209'
color_off: '#555B65'
text_uppercase: false
text_color_on: '#555B65'
text_color_off: '#F0C209'
text_size: 1em
text_sec_size: 1em
text_align: center
entities:
- entity: switch.sw_netwerk_auditorium_template
label_sec: Auditorium
icon_template: >
if (state === 'on') return 'mdi:wifi';
return 'mdi:wifi';
style_template: >
if (state !== 'on') return 'text-decoration: line-through';
- entity: switch.sw_audio_auditorium_template
label_sec: Auditorium
icon_template: >
if (state === 'on') return 'mdi:music';
return 'mdi:music-off';
style_template: >
if (state !== 'on') return 'text-decoration: line-through';
more_info: switch.sw_audio_auditorium_template
- entity: switch.sw_tv_auditorium_template
label_sec: Auditorium
icon_template: >
if (state === 'on') return 'mdi:television';
return 'mdi:television-off';
style_template: >
if (state !== 'on') return 'text-decoration: line-through';
- entity: switch.subwoofer_outlet
label_sec: Sub-woofer
icon_template: >
if (state === 'on') return 'mdi:speaker';
return 'mdi:speaker-off';
style_template: >
if (state !== 'on') return 'text-decoration: line-through';
would there be a vertical alignment code I need to add in the config section? This is only with text oriented tiles, all my picture tiles show perfectly.