Skip to content

Commit

Permalink
rule name of HCL
Browse files Browse the repository at this point in the history
  • Loading branch information
nobbi1991 committed Dec 3, 2023
1 parent 429c10d commit 00c9b47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions habapp_rules/actors/light_hcl.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def __init__(self, name_color: str, config: list[tuple[float, float]]):
:param config: config for HCL rule
"""
HABApp.Rule.__init__(self)
self.rule_name += name_color

self._config = self._get_sorted_config(config)
self._item_color = HABApp.openhab.items.NumberItem.get_item(name_color)
Expand Down

0 comments on commit 00c9b47

Please sign in to comment.