UI
UI copied to clipboard
Cover template has hardcoded icons that can't be changed by user
Is your feature request related to a problem? Please describe.
Cover template is hardcoded to use mdi:window-shutter
and mdi:window-shutter-open
. This icon doesn't make sense for other types of covers: garages, gates, etc.
Describe the solution you'd like Allow the icon to be set by the user for Card Cover with Buttons.
Describe alternatives you've considered
Tried making a custom version of cover.yaml
but it broke the UI. It appears that these internal cards behave differently than custom cards.
Additional context n/a
Sorry this should probably be enhancement not feature request. Didn't read closely enough :(
This is partially resolved by @yagrasdemonde in #621 except for a tiny issue: if you choose "garage" it only shows the large garage icon. Example: if you only have a 1-car garage, but the icon is for a 2-car garage.
Small garage uses these icons:
mdi:garage
mdi:garage-alert
mdi:garage-lock
mdi:garage-open
Large garage uses these icons:
mdi:garage-variant
mdi:garage-alert-variant
mdi:garage-variant-lock
mdi:garage-open-variant
It also looks like we don't have an icon for alert in the code for the Cover Card. In case the garage gets stuck and returns an alert (or hits something, etc.)
Alert icons still need work to implement. This is different to other many other cards as the Icon is set manually to allow for blind/garage/gate etc... and varies depending on the State (open/closed)