cgiesche / streamdeck-homeassistant

Control your Home Assistant devices from StreamDeck
MIT License
768 stars 38 forks source link

Correction of the custom icon display bug #257

Closed dobby5 closed 3 months ago

dobby5 commented 3 months ago

Updated dependencies

cgiesche commented 3 months ago

Hi dobby5,

first of all, thank you very much for your work!

Unfortunatelly, we have by accident made some conflicting changes as I am working on a complete rewrite of the "rendering config" stuff on this branch: https://github.com/cgiesche/streamdeck-homeassistant/tree/streamdeck-homeassistant-254

I changed the whole color/icon/label "generation" to a decalarative approach (config file), so one can "simply" modify the default config to customize everything. Please have a look. To make things worse, i even updated to the new home-assistant-icons, too.

Since the beginning of this project there were only few people making very (small) pull requests. It's a bummer, now that someone does real work, this happens :/

Maybe you want to take a look at my branch, which is still work in progress but already quite nice.

cgiesche commented 3 months ago

This is how it currently looks (the light green icons ar only green because i tested the custom config): image

In the configuration you can choose, which icon should be preferred (uses other option as fallback): image

Hacky way to override config file (which by default is loaded from repo, local as fallback): image

Default configuration (supports nunjucks templates): https://github.com/cgiesche/streamdeck-homeassistant/blob/streamdeck-homeassistant-254/public/config/default-display-config.yml