Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many weather icons in flash #26

Open
nagyrobi opened this issue Jun 5, 2024 · 0 comments
Open

Too many weather icons in flash #26

nagyrobi opened this issue Jun 5, 2024 · 0 comments

Comments

@nagyrobi
Copy link

nagyrobi commented Jun 5, 2024

I think Home Assistant doesn't support that many weather conditions.

Looking at the HA Core translations in lokalise (search for strings under key component::weather::entity_component::_::state), I see strings only for the ones below. Thus, I think it's useless to keep in flash so many icons which would be never used.

Instead only these would be required:

        "\U000F0594", # clear-night
        "\U000F0590", # cloudy
        "\U000F0F2F", # exceptional
        "\U000F0591", # fog
        "\U000F0592", # hail
        "\U000F0593", # lightning
        "\U000F067E", # lightning-rainy
        "\U000F0595", # partlycloudy
        "\U000F0596", # pouring
        "\U000F0597", # rainy
        "\U000F0598", # snowy
        "\U000F067F", # snowy-rainy
        "\U000F0599", # sunny
        "\U000F059D", # windy
        "\U000F059E", # windy-variant

Affected lines in the config:
https://github.com/Madelena/esphome-weatherman-dashboard/blob/c461b16ad41afa46ebf356ff16016d88ffecfb09/weatherman.yaml#L451C1-L480C43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant