Fan entity should return support features

This commit is contained in:
Tom Matheussen
2021-07-08 12:00:06 +02:00
committed by GitHub
parent fe1f7ba316
commit 3ad0e87708

View File

@@ -623,7 +623,7 @@ class FanEntity(ToggleEntity):
@property
def supported_features(self) -> int:
"""Flag supported features."""
return 0
return self._attr_supported_features
@property
def preset_mode(self) -> str | None: