Update coordinator typing (3) [g-n] (#68463)

This commit is contained in:
Marc Mueller 2022-03-21 14:14:46 +01:00 committed by GitHub
parent 354fc4c1ae
commit 0d29b7cbb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 25 additions and 29 deletions

View file

@ -38,10 +38,9 @@ async def async_setup_entry(
# https://developers.home-assistant.io/docs/core/entity/climate/
class Alpha2Climate(CoordinatorEntity, ClimateEntity):
class Alpha2Climate(CoordinatorEntity[Alpha2BaseCoordinator], ClimateEntity):
"""Alpha2 ClimateEntity."""
coordinator: Alpha2BaseCoordinator
target_temperature_step = 0.2
_attr_supported_features = SUPPORT_TARGET_TEMPERATURE | SUPPORT_PRESET_MODE