zachowj / hass-node-red

Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core
MIT License
446 stars 180 forks source link

async_forward_entry_setup deprecated #282

Closed RobertD502 closed 1 week ago

RobertD502 commented 1 week ago

Describe the bug

async_forward_entry_setup has been deprecated and is to be replaced with async_forward_entry_setups. It will stop working in Home Assistant 2025.6 and users will start to see the warning seen below starting with Home Assistant 2024.7.

Detected that custom integration 'nodered' calls async_forward_entry_setup for integration,
nodered with title: Node-RED and entry_id: 097d54fa8ac44a0cbc2fa3ab2fda9c58,
which is deprecated and will stop working in Home Assistant 2025.6,
await async_forward_entry_setups instead at custom_components/nodered/discovery.py, line 93:
await hass.config_entries.async_forward_entry_setup(, please create a bug report at https://github.com/zachowj/hass-node-red/issues

To Reproduce

No response

Expected behavior

No response

Screenshots

No response

Example Flow

No response

Environment Information

N/A

Additional context

No response