Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

never awaited self.async_set_percentage(percentage) #19

Open
phsdv opened this issue Sep 24, 2024 · 0 comments
Open

never awaited self.async_set_percentage(percentage) #19

phsdv opened this issue Sep 24, 2024 · 0 comments

Comments

@phsdv
Copy link

phsdv commented Sep 24, 2024

Hi
I am using the ecovent in Home Assistant (2024.9.1) with the Roomie Dual Office.
Since some time I get the following warning in the system log file:

/config/custom_components/ecovent/fan.py:171: RuntimeWarning: coroutine 'EcoventFan.async_set_percentage' was never awaited self.async_set_percentage(percentage) 

Also the following warnings after a reboot:

2024-09-18 03:45:49.162 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.ecovent.fan.EcoventFan'>) does not set FanEntityFeature.TURN_OFF but implements the turn_off method. Please report it to the author of the 'ecovent' custom integration
2024-09-18 03:45:49.163 WARNING (MainThread) [homeassistant.components.fan] Entity None (<class 'custom_components.ecovent.fan.EcoventFan'>) does not set FanEntityFeature.TURN_ON but implements the turn_on method. Please report it to the author of the 'ecovent' custom integration
2024-09-18 03:45:49.190 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration posten with title: 3340 and entry_id: 580a31795c56e38d57fe19cf23356a46, 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.

Hopefully this can be fixed before the Jan 2025 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant