Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 23, 2024
1 parent 6ff5e67 commit 9560bcf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom_components/adaptive_lighting/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,9 +638,8 @@ def _expand_light_groups(


def _is_light_group(state: State) -> bool:
return (
"entity_id" in state.attributes
and not state.attributes.get("is_hue_group", False)
return "entity_id" in state.attributes and not state.attributes.get(
"is_hue_group", False
)


Expand Down

0 comments on commit 9560bcf

Please sign in to comment.