mirror of https://github.com/simbaja/ha_gehome.git
Update fridge.py
This commit is contained in:
parent
cd6abd8c0a
commit
cb54ddb9be
|
@ -19,6 +19,7 @@ from gekitchensdk import (
|
||||||
from .base import ApplianceApi
|
from .base import ApplianceApi
|
||||||
from ..entities import (
|
from ..entities import (
|
||||||
GeErdSensor,
|
GeErdSensor,
|
||||||
|
GeErdBinarySensor,
|
||||||
GeErdSwitch,
|
GeErdSwitch,
|
||||||
GeFridge,
|
GeFridge,
|
||||||
GeFreezer,
|
GeFreezer,
|
||||||
|
@ -88,7 +89,7 @@ class FridgeApi(ApplianceApi):
|
||||||
# Dispenser entities
|
# Dispenser entities
|
||||||
if(hot_water_status and hot_water_status.status != ErdHotWaterStatus.NA):
|
if(hot_water_status and hot_water_status.status != ErdHotWaterStatus.NA):
|
||||||
dispenser_entities.extend([
|
dispenser_entities.extend([
|
||||||
GeErdSensor(self, ErdCode.HOT_WATER_IN_USE),
|
GeErdBinarySensor(self, ErdCode.HOT_WATER_IN_USE),
|
||||||
GeErdSensor(self, ErdCode.HOT_WATER_SET_TEMP),
|
GeErdSensor(self, ErdCode.HOT_WATER_SET_TEMP),
|
||||||
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "status"),
|
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "status"),
|
||||||
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "time_until_ready", icon_override="mdi:timer-outline"),
|
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "time_until_ready", icon_override="mdi:timer-outline"),
|
||||||
|
|
Loading…
Reference in New Issue