Add type hints to LightEntity (#47024)

This commit is contained in:
Shay Levy
2021-03-08 22:21:45 +02:00
committed by GitHub
parent a243adc551
commit 215ab5fd40
4 changed files with 16 additions and 16 deletions

View File

@@ -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