IATkachenko/HA-SleepAsAndroid

Warning home assistant log. Calls async_forward_entry_setup for integration which is deprecated and will stop working in Home Assistant 2025.6

Closed this issue · 0 comments

General information

Home Assistant

Version: 2024.9.2
Installation method (according to instructions):
[ ] Operating System
[ ] Linux VM
[X ] Container
[ ] Supervised
[ ] Core

Integration

Installation method:
[X ] HACS
[ ] manual from release
[ ] manual from git
Integration version: 2.3.0
Root topic:

Application settings

topic:
[ X] I can see MQTT messages from application at MQTT-server

How it works now?

Perfect but during the home assistant's startup a warning appears to notify a command will deprecate June 2025

What do you expect?

to be prepare to 2025.6 home assistant

Steps to reproduce

  1. Just start up home assistant 2024.9.2 with HA-SleepAndroid 2.3.0

Debug log

2024-09-19 16:30:27.831 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'sleep_as_android' calls async_forward_entry_setup for integration, sleep_as_android with title: SleepAsAndroid and entry_id: 831990e95190be44cd35dcba1040353e, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/sleep_as_android/__init__.py, line 43: result = await hass.config_entries.async_forward_entry_setup(, please create a bug report at https://github.com/IATkachenko/HA-SleepAsAndroid/issues

Additional information