gce-electronics / HA_RFPlayer

RFPlayer plugin for Home assistant
Apache License 2.0
29 stars 10 forks source link

Home Assistant 2023.04.1 - Unable to load rfplayer #33

Closed DarkosGahan closed 1 year ago

DarkosGahan commented 1 year ago

Bonjour Suite à la mise à jour 2023.04.1 RFPLAYER ne se charge plus,

LOG:

2023-05-04 10:02:50.942 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration rfplayer: Unable to import component: cannot import name 'async_get_registry' from 'homeassistant.helpers.device_registry' (/usr/src/homeassistant/homeassistant/helpers/device_registry.py)

SOLUTION TESTEE, FONCTIONNANT POUR KNX ( les autres à tester )

__init__.py

- from homeassistant.helpers.device_registry import async_get_registry
+ from homeassistant.helpers.device_registry import async_get

Je n'ai trouvé aucune autre référence, après le changement ci-dessus RFPLAYER fonctionne à nouveau

Aohzan commented 1 year ago

Hello met à jour en 0.6.0