scheduler-component icon indicating copy to clipboard operation
scheduler-component copied to clipboard

hass.components.websocket_api deprecated

Open Drewskieza opened this issue 11 months ago • 4 comments

Checklist

  • [x] I checked for similar existing issues (both open and closed) before posting.
  • [x] I am running the latest version.

Expected behavior

No Error

Actual behavior

Error in the log file

Logger: homeassistant.helpers.frame Source: helpers/frame.py:156 First occurred: 08:49:40 (2 occurrences) Last logged: 08:49:41

Detected that custom integration 'scheduler' 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/scheduler/websockets.py, line 235: hass.components.websocket_api.async_register_command(, please create a bug report at https://github.com/nielsfaber/scheduler-component/issues

Steps to Reproduce

Restart HA 2024.3.0 Check logs

Drewskieza avatar Mar 07 '24 09:03 Drewskieza

I came to report the same log warning

agak79 avatar Mar 07 '24 13:03 agak79

related https://github.com/nielsfaber/scheduler-component/pull/335

xconverge avatar Mar 08 '24 00:03 xconverge

same problem by me. After installing latest Version of HA

olli711 avatar Mar 10 '24 18:03 olli711

same problem by me.

robertp007 avatar Mar 11 '24 07:03 robertp007

I believe this issue is not actual and solved by updating your scheduler-component installation.

nielsfaber avatar Mar 29 '24 19:03 nielsfaber