Skip to content

Commit

Permalink
Implement async_set_hvac_mode to support scenes
Browse files Browse the repository at this point in the history
  • Loading branch information
gazoodle committed Feb 7, 2025
1 parent 304b9b3 commit 6d881eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

## Version History

v0.1.18
- Implement climate action async_set_hvac_mode so that the integration can be used in scenes

v0.1.17
- Add supoort for lock mode if it exists
- Add support for standby mode
Expand Down
3 changes: 3 additions & 0 deletions custom_components/gecko/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,6 @@ async def async_set_temperature(self, **kwargs: Any) -> None:
await self._automation_entity.async_set_target_temperature(
kwargs["temperature"]
)

async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
"""Fake function to set HVAC mode."""
2 changes: 1 addition & 1 deletion custom_components/gecko/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"requirements": [
"geckolib==1.0.1"
],
"version": "0.1.17"
"version": "0.1.18"
}

0 comments on commit 6d881eb

Please sign in to comment.