mirror of https://github.com/simbaja/ha_gehome.git
Merge pull request #1 from joelmoses/master
Add HACS support for GE Kitchen HA integration, fix attribute name & missing property for dispenser
This commit is contained in:
commit
fde3914fb6
|
@ -1,4 +1,4 @@
|
||||||
# Custom Components for Home Assistant
|
# GE Kitchen Appliances (SmartHQ)
|
||||||
|
|
||||||
## `ge_kitchen`
|
## `ge_kitchen`
|
||||||
Integration for GE WiFi-enabled kitchen appliances. So far, I've only done fridges and ovens (because that's what I
|
Integration for GE WiFi-enabled kitchen appliances. So far, I've only done fridges and ovens (because that's what I
|
||||||
|
@ -18,6 +18,3 @@ Oven Controls:
|
||||||
|
|
||||||
![Fridge controls](https://raw.githubusercontent.com/ajmarks/ha_components/master/img/oven_controls.png)
|
![Fridge controls](https://raw.githubusercontent.com/ajmarks/ha_components/master/img/oven_controls.png)
|
||||||
|
|
||||||
## What happened to `shark_iq`?
|
|
||||||
|
|
||||||
It's part of Home Assistant as of [0.115](https://www.home-assistant.io/blog/2020/09/17/release-115/)!
|
|
|
@ -91,7 +91,7 @@ class FridgeApi(ApplianceApi):
|
||||||
GeErdSensor(self, ErdCode.HOT_WATER_IN_USE),
|
GeErdSensor(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_remaining", icon_override="mdi:timer-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=DEVICE_CLASS_TEMPERATURE),
|
GeErdPropertySensor(self, ErdCode.HOT_WATER_STATUS, "current_temp", device_class_override=DEVICE_CLASS_TEMPERATURE),
|
||||||
GeErdPropertyBinarySensor(self, ErdCode.HOT_WATER_STATUS, "faulted", device_class_override=DEVICE_CLASS_PROBLEM),
|
GeErdPropertyBinarySensor(self, ErdCode.HOT_WATER_STATUS, "faulted", device_class_override=DEVICE_CLASS_PROBLEM),
|
||||||
GeDispenser(self)
|
GeDispenser(self)
|
|
@ -122,3 +122,5 @@ class GeDispenser(GeWaterHeater):
|
||||||
data["time_until_ready"] = self._stringify(self.hot_water_status.time_until_ready)
|
data["time_until_ready"] = self._stringify(self.hot_water_status.time_until_ready)
|
||||||
if self.hot_water_status.tank_full != ErdFullNotFull.NA:
|
if self.hot_water_status.tank_full != ErdFullNotFull.NA:
|
||||||
data["tank_status"] = self._stringify(self.hot_water_status.tank_full)
|
data["tank_status"] = self._stringify(self.hot_water_status.tank_full)
|
||||||
|
|
||||||
|
return data
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"name": "GE Kitchen Appliances (SmartHQ)",
|
||||||
|
"homeassistant": "2021.1.5",
|
||||||
|
"domains": ["binary_sensor", "sensor", "switch", "water_heater"],
|
||||||
|
"iot_class": "Cloud Polling"
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
# GE Kitchen Appliances (SmartHQ)
|
||||||
|
|
||||||
|
## `ge_kitchen`
|
||||||
|
Integration for GE WiFi-enabled kitchen appliances. So far, I've only done fridges and ovens (because that's what I
|
||||||
|
have), but I hope to to dishwashers next. Because HA doesn't have Fridge or Oven platforms, both fridges and ovens are
|
||||||
|
primarily represented as water heater entities, which works surprisingly well. If anybody who has other GE appliances
|
||||||
|
sees this and wants to pitch in, please shoot me a message or make a PR.
|
||||||
|
|
||||||
|
Entities card:
|
||||||
|
|
||||||
|
![Entities](https://raw.githubusercontent.com/ajmarks/ha_components/master/img/appliance_entities.png)
|
||||||
|
|
||||||
|
Fridge Controls:
|
||||||
|
|
||||||
|
![Fridge controls](https://raw.githubusercontent.com/ajmarks/ha_components/master/img/fridge_control.png)
|
||||||
|
|
||||||
|
Oven Controls:
|
||||||
|
|
||||||
|
![Fridge controls](https://raw.githubusercontent.com/ajmarks/ha_components/master/img/oven_controls.png)
|
||||||
|
|
Loading…
Reference in New Issue