Rename ClimateDevice to ClimateEntity (#34591)
This commit is contained in:
parent
b30d117e7d
commit
29bc93ea98
68 changed files with 177 additions and 150 deletions
|
@ -5,7 +5,7 @@ from homeassistant.components.climate import (
|
|||
HVAC_MODE_HEAT,
|
||||
HVAC_MODE_OFF,
|
||||
SUPPORT_TARGET_TEMPERATURE,
|
||||
ClimateDevice,
|
||||
ClimateEntity,
|
||||
)
|
||||
from homeassistant.components.climate.const import CURRENT_HVAC_HEAT, CURRENT_HVAC_OFF
|
||||
from homeassistant.const import ATTR_TEMPERATURE, CONF_NAME, TEMP_CELSIUS
|
||||
|
@ -29,7 +29,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||
async_add_entities(entities)
|
||||
|
||||
|
||||
class LightwaveTrv(ClimateDevice):
|
||||
class LightwaveTrv(ClimateEntity):
|
||||
"""Representation of a LightWaveRF TRV."""
|
||||
|
||||
def __init__(self, name, device_id, lwlink, serial):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue