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
@@ -2,7 +2,7 @@
|
||||
|
||||
import logging
|
||||
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate import ClimateEntity
|
||||
from homeassistant.components.climate.const import (
|
||||
HVAC_MODE_COOL,
|
||||
HVAC_MODE_HEAT,
|
||||
@@ -41,7 +41,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
add_entities(devices, True)
|
||||
|
||||
|
||||
class SpiderThermostat(ClimateDevice):
|
||||
class SpiderThermostat(ClimateEntity):
|
||||
"""Representation of a thermostat."""
|
||||
|
||||
def __init__(self, api, thermostat):
|
||||
|
||||
Reference in new issue
Block a user