Olen / homeassistant-plant

Alternative Plant component of home assistant
218 stars 23 forks source link

Deprecation warning for hass.components.websocket_api #153

Closed chemelli74 closed 2 months ago

chemelli74 commented 2 months ago

Running HA 2024.4.2 and this warning is logged:

2024-04-09 22:06:21.907 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'plant' accesses hass.components.websocket_api. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from websocket_api directly at custom_components/plant/__init__.py, line 224: hass.components.websocket_api.async_register_command(ws_get_info), please create a bug report at https://github.com/Olen/homeassistant-plant/issues

Olen commented 2 months ago

Try the latest beta, which I just released.

chemelli74 commented 2 months ago

Updated, and log is gone. Thx!