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
@@ -15,7 +15,7 @@ from pyephember.pyephember import (
|
||||
)
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.climate import PLATFORM_SCHEMA, ClimateDevice
|
||||
from homeassistant.components.climate import PLATFORM_SCHEMA, ClimateEntity
|
||||
from homeassistant.components.climate.const import (
|
||||
CURRENT_HVAC_HEAT,
|
||||
CURRENT_HVAC_IDLE,
|
||||
@@ -70,7 +70,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
return
|
||||
|
||||
|
||||
class EphEmberThermostat(ClimateDevice):
|
||||
class EphEmberThermostat(ClimateEntity):
|
||||
"""Representation of a EphEmber thermostat."""
|
||||
|
||||
def __init__(self, ember, zone):
|
||||
|
||||
Reference in new issue
Block a user