GuyKh/ims-custom-component

"Exceptional" forecast?

Closed this issue · 6 comments

Hi Tomer

I've been using your addon for a couple weeks. Today I got this:
image
Is it trying to say Sharav (שרב)?

Thanks

Everything seems to be working otherwise:
image

GuyKh commented

@quartzbear
look.
The weather in IMS is coded by this list:
https://ims.gov.il/en/weather_codes

HomeAssistant native weather condition is listed here:
https://developers.home-assistant.io/docs/core/entity/weather/#recommended-values-for-state-and-condition

The mapping is here:
https://github.com/t0mer/ims-custom-component/blob/main/custom_components/ims/const.py#L114

Status 1580 ("Extremely Hot") in IMS is mapped to "Exceptional".
Do you have another mapping suggestion?

Given the available conditions from HA, I guess "Exceptional" is the most suitable. Maybe changing the default graphic would make it more clear?
I guess most HA devs are based in cold countries, so the idea of adding statuses for hot weather didn't occur to them.

GuyKh commented

It's automatic in HomeAssistant. I can just control the predifined condition name

GuyKh commented

Closing this ticket. @quartzbear - Let me know if you have other thoughts?