Skip to content

I just started getting the following message when trying to turn on the device #30

Answered by RobertD502
whittyhandle asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for bringing this to my attention. Looks like ~3 weeks ago someone on the Home Assistant side made changes to the Home Assistant Fan entity code. Previously, the async_turn_on method defined in the Coway fan.py file would call the async_turn_on method found in the Home Assistant fan entity code. Instead, now an additional validation method is called:

    @final
    async def async_handle_turn_on_service(
        self,
        percentage: int | None = None,
        preset_mode: str | None = None,
        **kwargs: Any,
    ) -> None:
        """Validate and turn on the fan."""
        if preset_mode is not None:
            self._valid_preset_mode_or_raise(preset_mode)
        await s…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@whittyhandle
Comment options

Answer selected by RobertD502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants