mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 13:30:43 +00:00
Add type hints to LightEntity (#47024)
This commit is contained in:
@@ -151,7 +151,7 @@ class ZwaveLight(ZWaveBaseEntity, LightEntity):
|
||||
return self._max_mireds
|
||||
|
||||
@property
|
||||
def supported_features(self) -> Optional[int]:
|
||||
def supported_features(self) -> int:
|
||||
"""Flag supported features."""
|
||||
return self._supported_features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user