Rename ClimateDevice to ClimateEntity (#34591)
This commit is contained in:
parent
b30d117e7d
commit
29bc93ea98
68 changed files with 177 additions and 150 deletions
|
@ -3,7 +3,7 @@ import logging
|
|||
|
||||
from velbus.util import VelbusException
|
||||
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate import ClimateEntity
|
||||
from homeassistant.components.climate.const import (
|
||||
HVAC_MODE_HEAT,
|
||||
SUPPORT_TARGET_TEMPERATURE,
|
||||
|
@ -27,7 +27,7 @@ async def async_setup_entry(hass, entry, async_add_entities):
|
|||
async_add_entities(entities)
|
||||
|
||||
|
||||
class VelbusClimate(VelbusEntity, ClimateDevice):
|
||||
class VelbusClimate(VelbusEntity, ClimateEntity):
|
||||
"""Representation of a Velbus thermostat."""
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue