tijsverkoyen / HomeAssistant-EnergyID

Integrate EnergyID into your Home Assistant.
MIT License
21 stars 2 forks source link

Warning regarding "async_forward_entry_setup" #19

Closed willembuys closed 1 week ago

willembuys commented 1 week ago

I get below warning and since it might impact future HA releases, thought I'd raise it as an issue. Thanks for looking into it, it's such a useful integration to get Fluvius data in HA.

"Detected code that calls async_forward_entry_setup for integration energy_id with title: EnergyID and entry_id: xxx, 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."

tijsverkoyen commented 1 week ago

Fixed in https://github.com/tijsverkoyen/HomeAssistant-EnergyID/releases/tag/v1.3.2

willembuys commented 1 week ago

Great, warning is gone. Thanks for the quick action!