Skip to content

Commit

Permalink
Mark only level as relevant entity for dali
Browse files Browse the repository at this point in the history
  • Loading branch information
SukramJ committed Aug 27, 2024
1 parent 4aa5186 commit 3aea7d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Add paramset_key to entity_key
- Switch typing of paramset_key from str to ParamsetKey
- Mark only level as relevant entity for DALI

# Version 2024.8.13 (2024-08-25)

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 @@ -638,7 +638,7 @@ def hs_color(self) -> tuple[float, float] | None:
@property
def _relevant_entities(self) -> tuple[hmge.GenericEntity, ...]:
"""Returns the list of relevant entities. To be overridden by subclasses."""
return self._e_hue, self._e_level, self._e_saturation, self._e_color_temperature_kelvin
return (self._e_level,)

@value_property
def effects(self) -> tuple[str, ...] | None:
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.8.13"
version = "2024.8.14"
license = {text = "MIT License"}
description = "Homematic interface for Home Assistant running on Python 3."
readme = "README.md"
Expand Down

0 comments on commit 3aea7d8

Please sign in to comment.