Rename ClimateDevice to ClimateEntity (#34591)
This commit is contained in:
1 parent
b30d117e7d
commit
29bc93ea98
68 files changed
+177
-150
No files matched your search
@@ -1,7 +1,7 @@
|
||||
"""Support for Tado thermostats."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate import ClimateEntity
|
||||
from homeassistant.components.climate.const import (
|
||||
CURRENT_HVAC_OFF,
|
||||
FAN_AUTO,
|
||||
@@ -163,7 +163,7 @@ def create_climate_entity(tado, name: str, zone_id: int, zone: dict):
|
||||
return entity
|
||||
|
||||
|
||||
class TadoClimate(TadoZoneEntity, ClimateDevice):
|
||||
class TadoClimate(TadoZoneEntity, ClimateEntity):
|
||||
"""Representation of a Tado climate entity."""
|
||||
|
||||
def __init__(
|
||||
|
||||
Reference in new issue
Block a user