Skip to content

Commit

Permalink
Merge pull request #501 from plugwise/cleanup
Browse files Browse the repository at this point in the history
Remove unneeded line
  • Loading branch information
bouwew authored Jan 19, 2024
2 parents 27a109d + 3115f92 commit 2feb790
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugwise/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,6 @@ def _presets(self, loc_id: str) -> dict[str, list[float]]:
return self._presets_legacy()

if not (rule_ids := self._rule_ids_by_tag(tag_1, loc_id)):
rule_ids = None
if not (rule_ids := self._rule_ids_by_name(tag_2, loc_id)):
return presets # pragma: no cover

Expand Down

0 comments on commit 2feb790

Please sign in to comment.