crazymikefra / HA_RFPlayer

RFPlayer plugin for Home assistant
0 stars 0 forks source link

deprecated async_get_registry method import for HA 2023-05 #17

Closed Doubledom45 closed 1 year ago

Doubledom45 commented 1 year ago

Suite mise à jour HA 2023-5

Unable to import component: cannot import name 'async_get_registry'

Modification du _init_.py

27   from homeassistant.helpers.device_registry import async_get_registry

from homeassistant.helpers import device_registry as dr

640           device_registry = await async_get_registry(self.hass)

device_registry = dr.async_get(hass)

Doubledom45 commented 1 year ago

Je ne fais pas un Pull Requests car je ne sais pas ou tu en es de tes modifications !

prahal commented 1 year ago

Pull request fait indépendamment #18