r-renato / ha-card-weather-conditions

Weather condition card (Lovelace) for Home Assistant.
MIT License
190 stars 37 forks source link

Request: Integration with Bureau of Meterology component #90

Open minkshaman opened 2 years ago

minkshaman commented 2 years ago

Hi,

I'm able to get all the Australian BoM sensors displaying in your card, except the forecast icon. icons: day_1: sensor.cc_test_weather_condition_0d

I've tried the forecast icon sensor that's provided in the custom component (https://github.com/bremor/bureau_of_meteorology), but it's obviously not being recognised.

The sensor "sensor.LOCATION_mdi_icon_1" spits out tomorrow's forecast as an icon (mdi:weather-lightning-rainy).

Unfortunately, I'm somewhere around the beginner mark with most coding, and I'm not able to figure out how to edit it in.

Would you please add compatibility for the component? I think it might be easier than the other APIs, as it directly provides each result separately, rather than your card having to separate the stream.

Thanks in advance for anything you can do.

spacelama commented 2 years ago

I've just started to look at this myself too, but since it's 2:30am, I shall quit now. But there's neither "shower.svg" in /config/www/community/ha-card-weather-conditions/icons/{static,animated}/, nor in /config/www/community/ha-card-weather-conditions/ha-card-weather-conditions.js

There is "shower rain" though in ha-card-weather-conditions.js courtesy I think of src/ha-cwc-openweathermap.ts. Perhaps src/ha-cwc-climacell.ts (I presume that's the icons most people are using) could do with some generalisaton.