Mariusthvdb / custom-ui

Add templates and icon_color to Home Assistant UI
161 stars 30 forks source link

refactor custom-ui-only #132

Closed Mariusthvdb closed 8 months ago

Mariusthvdb commented 8 months ago

clear all more-info remnants

add color to Entity card ! thank you @elchininet

rename Hooks

add some comments

Mariusthvdb commented 8 months ago

@bratanon Emil, please see this refactor?

Ive added a new function for the coloring of the Entity card, and renamed the hooks to be a bit more concise.

we might be able to compact some more, but currently this is fully functional and designed to be accompanied. by custom-more-info (eg if you want to hide the templates attribute)

ofc your deep query is also in it.

@elchininet, is this what you envisioned or do you still see possible improvements

thx for having a look

Mariusthvdb commented 8 months ago

added icon_color on button card too.

ok merging now to be able to test HACS update