mirror of https://github.com/simbaja/ha_gehome.git
Merge remote-tracking branch 'remotes/origin/dev'
This commit is contained in:
commit
8e9d936151
|
@ -1,4 +1,4 @@
|
|||
from homeassistant.components.binary_sensor import DEVICE_CLASS_PROBLEM
|
||||
from homeassistant.components.binary_sensor import BinarySensorDeviceClass
|
||||
from homeassistant.components.sensor import SensorDeviceClass
|
||||
import logging
|
||||
from typing import List
|
||||
|
@ -130,7 +130,7 @@ class FridgeApi(ApplianceApi):
|
|||
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "status", icon_override="mdi:information-outline"),
|
||||
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "time_until_ready", icon_override="mdi:timer-outline"),
|
||||
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "current_temp", device_class_override=SensorDeviceClass.TEMPERATURE, data_type_override=ErdDataType.INT),
|
||||
GeErdPropertyBinarySensor(self, ErdCode.HOT_WATER_STATUS, "faulted", device_class_override=DEVICE_CLASS_PROBLEM),
|
||||
GeErdPropertyBinarySensor(self, ErdCode.HOT_WATER_STATUS, "faulted", device_class_override=BinarySensorDeviceClass.PROBLEM),
|
||||
GeDispenser(self)
|
||||
])
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ from .options_converter import OptionsConverter
|
|||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
#by default, we'll support target temp and fan mode (derived classes can override)
|
||||
GE_CLIMATE_SUPPORT = WaterHeaterEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE
|
||||
GE_CLIMATE_SUPPORT = ClimateEntityFeature.TARGET_TEMPERATURE | ClimateEntityFeature.FAN_MODE
|
||||
|
||||
class GeClimate(GeEntity, ClimateEntity):
|
||||
"""GE Climate Base Entity (Window AC, Portable AC, etc)"""
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
"documentation": "https://github.com/simbaja/ha_gehome",
|
||||
"requirements": ["gehomesdk==0.5.26","magicattr==0.1.6","slixmpp==1.8.3"],
|
||||
"codeowners": ["@simbaja"],
|
||||
"version": "0.6.9"
|
||||
"version": "0.6.10"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue