Misc typing improvements (#86550)

This commit is contained in:
Marc Mueller 2023-01-25 11:05:36 +01:00 committed by GitHub
parent 0e9b74986f
commit 60b799aac9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 17 additions and 13 deletions

View file

@ -63,7 +63,7 @@ class ComfoConnectFan(FanEntity):
_attr_should_poll = False
_attr_supported_features = FanEntityFeature.SET_SPEED | FanEntityFeature.PRESET_MODE
_attr_preset_modes = PRESET_MODES
current_speed = None
current_speed: float | None = None
def __init__(self, ccb: ComfoConnectBridge) -> None:
"""Initialize the ComfoConnect fan."""