Skip to content

never awaited self.async_set_percentage(percentage) #19

@phsdv

Description

@phsdv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions