mirror of
https://github.com/junkfix/config-editor.git
synced 2026-05-21 12:14:49 +02:00
Merge pull request #13 from htmltiger/htmltiger-patch-1
Deprecated warning fix for home assistant 2024.03
This commit is contained in:
commit
057c4ee8dc
|
|
@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__)
|
|||
|
||||
|
||||
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)
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue