ims-custom-component icon indicating copy to clipboard operation
ims-custom-component copied to clipboard

"Exceptional" forecast?

Open quartzbear opened this issue 1 year ago • 4 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

quartzbear avatar Apr 09 '23 08:04 quartzbear

Everything seems to be working otherwise: image

quartzbear avatar Apr 09 '23 08:04 quartzbear

@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?

GuyKh avatar Apr 11 '23 16:04 GuyKh

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.

quartzbear avatar Apr 12 '23 18:04 quartzbear

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

GuyKh avatar Apr 13 '23 06:04 GuyKh