Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Dec 13, 2024
1 parent f3a9008 commit b2dcfcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/light/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def apply_default(
params.setdefault(ATTR_TRANSITION, transition)

@callback
def apply_profile(self, name: str, params: LightTurnOnTD) -> None:
def apply_profile(self, name: str, params: LightTurnOnTD | dict[str, Any]) -> None:
"""Apply a profile."""
if (profile := self.data.get(name)) is None:
return
Expand Down

0 comments on commit b2dcfcf

Please sign in to comment.