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
@@ -7,7 +7,7 @@ import pyatmo
|
||||
import requests
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.components.climate import ClimateDevice
|
||||
from homeassistant.components.climate import ClimateEntity
|
||||
from homeassistant.components.climate.const import (
|
||||
CURRENT_HVAC_HEAT,
|
||||
CURRENT_HVAC_IDLE,
|
||||
@@ -156,7 +156,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
||||
return
|
||||
|
||||
|
||||
class NetatmoThermostat(ClimateDevice):
|
||||
class NetatmoThermostat(ClimateEntity):
|
||||
"""Representation a Netatmo thermostat."""
|
||||
|
||||
def __init__(self, data, room_id):
|
||||
|
||||
Reference in new issue
Block a user