We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f8b445 commit 6f2c5b6Copy full SHA for 6f2c5b6
custom_components/ocpp/__init__.py
@@ -70,7 +70,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
70
71
central_sys = await CentralSystem.create(hass, entry)
72
73
- dr = await device_registry.async_get_registry(hass)
+ dr = device_registry.async_get(hass)
74
75
""" Create Central System Device """
76
dr.async_get_or_create(
0 commit comments