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
|
|||
|
||||
import requests
|
||||
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate import ClimateEntity
|
||||
from homeassistant.components.climate.const import (
|
||||
CURRENT_HVAC_HEAT,
|
||||
CURRENT_HVAC_IDLE,
|
||||
|
@ -97,7 +97,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
|||
)
|
||||
|
||||
|
||||
class ViCareClimate(ClimateDevice):
|
||||
class ViCareClimate(ClimateEntity):
|
||||
"""Representation of the ViCare heating climate device."""
|
||||
|
||||
def __init__(self, name, api, heating_type):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue