Skip to content

Commit

Permalink
Add duration=111600 when ramp_time used for HmIP-RGBW
Browse files Browse the repository at this point in the history
  • Loading branch information
SukramJ committed Jan 7, 2024
1 parent 634b25f commit 9f94248
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Version 2024.1.3 (2024-01-07)

- Add duration=111600 when ramp_time used for HmIP-RGBW

# Version 2024.1.2 (2024-01-07)

- Only consider relevant entities for HmIP-RGBW
Expand Down
2 changes: 1 addition & 1 deletion hahomematic/platforms/custom/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ async def turn_on(
value=color_temp_kelvin, collector=collector
)
if kwargs.get("on_time") is None and kwargs.get("ramp_time"):
await self._set_on_time_value(on_time=0, collector=collector)
await self._set_on_time_value(on_time=111600, collector=collector)
if self.supports_effects and (effect := kwargs.get("effect")) is not None:
await self._e_effect.send_value(value=effect, collector=collector)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "hahomematic"
version = "2024.1.2"
version = "2024.1.3"
license = {text = "MIT License"}
description = "Homematic interface for Home Assistant running on Python 3."
readme = "README.md"
Expand Down

0 comments on commit 9f94248

Please sign in to comment.