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

No "HEATING" attribute when Turn On H7130 by toggle #34

Open
HarryGYao opened this issue Nov 10, 2024 · 0 comments
Open

No "HEATING" attribute when Turn On H7130 by toggle #34

HarryGYao opened this issue Nov 10, 2024 · 0 comments

Comments

@HarryGYao
Copy link

There is an error when I toggle to turn on my heater, it looks the following code cause the issue.

    async def async_turn_on(self) -> None:
        """Turn the entity on."""
        await self.async_set_hvac_mode(HVACMode.HEATING)

The following change will fix my issue.

    async def async_turn_on(self) -> None:
        """Turn the entity on."""
        await self.async_set_hvac_mode(HVACMode.HEAT_COOL)

Could you help review if the HVAC mode for turning on depends on the device?

Thanks

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