berrywhite96 / lovelace-shutter-row

Home Assistant Lovelace Shutter Row Card
MIT License
19 stars 4 forks source link

Please do not hardcode the icon #3

Closed KennethLavrsen closed 1 year ago

KennethLavrsen commented 1 year ago

Hi

Great little card

It seems you have hard coded the icon. I have a a different icon to match my actual cover. It would be good if the card just use that. We can add any icon we want to an entity so why hardcode the icon? That makes the card less useful

berrywhite96 commented 1 year ago

Thanks!

Actually I didn't think about it, currently you get the closed icon if it's fully closed otherwise the other icon. I put it onto my todo list, maybe I can automatically switch between hardcoded and entity icon. In the worst case I will make an extra attribute in the config.

berrywhite96 commented 1 year ago

Implemented with v0.2.0 release.