Import websocket_api (part 3) (#63907)
This commit is contained in:
parent
3b7448bb1c
commit
6eb0447566
8 changed files with 32 additions and 18 deletions
|
@ -207,7 +207,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||
DOMAIN, "mark_read", mark_read_service, SCHEMA_SERVICE_NOTIFICATION
|
||||
)
|
||||
|
||||
hass.components.websocket_api.async_register_command(websocket_get_notifications)
|
||||
websocket_api.async_register_command(hass, websocket_get_notifications)
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue