Closed ebroder closed 10 months ago
Because MieleOAuth.refresh_token is an async function, it does not actually run unless something awaits the resulting coroutine that it returns.
Based on noticing the following error in my logs:
/config/custom_components/miele/miele_at_home.py:177: RuntimeWarning: coroutine 'MieleOAuth.refresh_token' was never awaited self.refresh_token(hass)
Because MieleOAuth.refresh_token is an async function, it does not actually run unless something awaits the resulting coroutine that it returns.
Based on noticing the following error in my logs: