Skip to content

Commit 6f2c5b6

Browse files
authored
fix registry call (#525)
* fix registry call * remove await
1 parent 5f8b445 commit 6f2c5b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/ocpp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
7070

7171
central_sys = await CentralSystem.create(hass, entry)
7272

73-
dr = await device_registry.async_get_registry(hass)
73+
dr = device_registry.async_get(hass)
7474

7575
""" Create Central System Device """
7676
dr.async_get_or_create(

0 commit comments

Comments
 (0)