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

Support ClimateEntityFeature.TURN_ON #181

Open
mxr opened this issue Dec 16, 2024 · 0 comments
Open

Support ClimateEntityFeature.TURN_ON #181

mxr opened this issue Dec 16, 2024 · 0 comments

Comments

@mxr
Copy link
Contributor

mxr commented Dec 16, 2024

This issue summarizes discussion in other issues & can be used as a reference.

Once 2025.1 is live then the _enable_turn_on_off_backwards_compatibility functionality will cease to work and this integration will no longer support the climate.turn_on action.

To implement "turn on" we need to

  • Add ClimateEntityFeature.TURN_ON to self._supported_features here.
  • Implement a turn_on function (similar to turn_off here).
  • Update the README

The body of turn_on should turn the unit to the last active HVAC mode. One way to store the last mode is in a small json file. Some other ways could be to create a sensor that stores the last mode or user-configurable select.

@mxr mxr changed the title SupportClimateEntityFeature.TURN_ON Support ClimateEntityFeature.TURN_ON Dec 16, 2024
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