Rename ClimateDevice to ClimateEntity (#34591)

This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-04-25 18:04:03 +02:00
1 parent b30d117e7d
commit 29bc93ea98
68 files changed
+177 -150

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@ import logging
import haanna
import voluptuous as vol
from homeassistant.components.climate import PLATFORM_SCHEMA, ClimateDevice
from homeassistant.components.climate import PLATFORM_SCHEMA, ClimateEntity
from homeassistant.components.climate.const import (
CURRENT_HVAC_COOL,
CURRENT_HVAC_HEAT,
@@ -88,7 +88,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
add_entities(devices, True)
class ThermostatDevice(ClimateDevice):
class ThermostatDevice(ClimateEntity):
"""Representation of the Plugwise thermostat."""
def __init__(self, api, name, min_temp, max_temp):