xlcnd / meteoalarmeu

A 'custom component' for Home-Assistant for Weather Warnings from meteoalarm.eu
GNU General Public License v3.0
20 stars 3 forks source link

Question: difference with core integration #1

Closed metbril closed 3 years ago

metbril commented 3 years ago

Out of curiousity. How is this integration different/better than the current core integration?

https://www.home-assistant.io/integrations/meteoalarm/

xlcnd commented 3 years ago

The current core integration relies on ATOM files that stopped to be produced for most of the countries! This integration uses a new 'driver' library that uses rss feeds. These files are available for all countries.

There are other improvements like (i) the user has access to the 'alarm messages' and not only to their classification [this depends on your country!] (ii) the sensor changes to 'unavailable' when the site is down, (iii) is usually faster since the server handles with smaller files...plus other minor things.

xlcnd commented 3 years ago

all countries = EUMETNET countries (UK stopped to send data)

metbril commented 3 years ago

Thanks. Do you plan to eventually migrate it to.a core integration?

xlcnd commented 3 years ago

No, since there is already one integration in core with similar functionality and it doesn't make sense to do a PR to the core integration, it would replace it completely.

metbril commented 3 years ago

It wouldn't surprise me if the old one is deprecated some day. It's a little flaky every now and then.

xlcnd commented 3 years ago

And for the majority of countries the core component doesn't work for more than a year...

I don't know how they decide these things, someone create an issue in HA about this, I made a comment explaining all these but I didn't heard about it. So I create this 'custom_component'.