International
The Morning Dev

Only the news worth knowing

‹
 

Research

I crawled 7,526 HACS repos for upcoming Home Assistant removals. Half the hits land in one release.

DEV · By Christo ·

I crawled 7,526 HACS repos for upcoming Home Assistant removals. Half the hits land in one release.

The Brief

  • A crawl of 7,526 HACS repositories searched for upcoming Home Assistant API removals.
  • Home Assistant announces API removals roughly a year ahead and marks them in homeassistant/helpers/frame.py with breaks_in_ha_version.
  • Core integrations are migrated before the deadline, but custom integrations are not, and about half of the hits land in one release.

Why it matters

Custom integrations installed through HACS can break when a Home Assistant release removes an API they use, and the warning rarely reaches the people running them.

Who’s affected

  • Home Assistant users running HACS custom integrations
  • Developers maintaining Home Assistant custom integrations

What to do

  1. Check custom integrations for use of APIs marked with breaks_in_ha_version in homeassistant/helpers/frame.py before the relevant release.

Home Assistant announces API removals roughly a year ahead and marks them in homeassistant/helpers/frame.py with breaks_in_ha_version= . Core integrations get migrated before the deadline. Custom integrations do not. Worse, the warning barely reaches the person running the box…

How do you feel about this?

0 Comments

    I crawled 7,526 HACS repos for upcoming Home Assistant removals. Half the hits land in one release. – The Morning Dev