mirror of
https://github.com/junkfix/config-editor.git
synced 2025-09-07 18:11:30 +02:00
Deprecated warning fix for home assistant 2024.03
Fixes https://github.com/htmltiger/config-editor-card/issues/56
This commit is contained in:
parent
b8b0f61329
commit
68d1f3d5ba
|
@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
async def async_setup(hass, config):
|
async def async_setup(hass, config):
|
||||||
hass.components.websocket_api.async_register_command(websocket_create)
|
websocket_api.async_register_command(hass, websocket_create)
|
||||||
hass.states.async_set(DOMAIN+".version", 4)
|
hass.states.async_set(DOMAIN+".version", 4)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue