1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Remove legacy fallback in light color_mode property (#162276)

This commit is contained in:
epenet
2026-02-09 07:54:07 +01:00
committed by GitHub
parent fc18ec4588
commit 5c5f5d064a
3 changed files with 4 additions and 67 deletions

View File

@@ -1837,7 +1837,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="color_mode",
return_type=["ColorMode", None],
return_type=["ColorMode"],
mandatory=True,
),
TypeHintMatch(