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:
simbaja 2021-02-09 15:00:33 -05:00 committed by GitHub
commit fde3914fb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 30 additions and 5 deletions

View File

@ -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/)!

View File

@ -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)

View File

@ -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

6
hacs.json Normal file
View File

@ -0,0 +1,6 @@
{
"name": "GE Kitchen Appliances (SmartHQ)",
"homeassistant": "2021.1.5",
"domains": ["binary_sensor", "sensor", "switch", "water_heater"],
"iot_class": "Cloud Polling"
}

20
info.md Normal file
View File

@ -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)