Update coordinator typing (3) [g-n] (#68463)
This commit is contained in:
parent
354fc4c1ae
commit
0d29b7cbb3
14 changed files with 25 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue