simbaja / ha_gehome

GE Home Appliances (SmartHQ) for Home Assistant
MIT License
347 stars 80 forks source link

Fix await async_forward_entry_setup as requested in HA #274

Closed disforw closed 4 months ago

disforw commented 4 months ago

Detected code that calls async_forward_entry_setup for integration ge_home during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.

By adding await before self.hass.config_entries.async_forward_entry_setup, you ensure that the call is properly awaited, preventing the setup lock issue.