Merge pull request #22 from warrenrees/dev

Fix typos, update minimum version in hacs, added new washer ERDs
This commit is contained in:
simbaja 2021-07-12 21:00:17 -04:00 committed by GitHub
commit e71f96adae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class ApplianceApi:
def get_all_entities(self) -> List[Entity]:
"""Create Entities for this device."""
return self.get_base_entties()
return self.get_base_entities()
def get_base_entities(self) -> List[Entity]:
"""Create base entities (i.e. common between all appliances)."""

View File

@ -47,5 +47,13 @@ class WasherApi(ApplianceApi):
washer_entities.extend([GeErdSensor(self, ErdCode.LAUNDRY_WASHER_TANK_STATUS)])
if self.has_erd_code(ErdCode.LAUNDRY_WASHER_TANK_SELECTED):
washer_entities.extend([GeErdSensor(self, ErdCode.LAUNDRY_WASHER_TANK_SELECTED)])
if self.has_erd_code(ErdCode.LAUNDRY_WASHER_TIMESAVER):
washer_entities.extend([GeErdBinarySensor(self, ErdCode.LAUNDRY_WASHER_TIMESAVER)])
if self.has_erd_code(ErdCode.LAUNDRY_WASHER_POWERSTEAM):
washer_entities.extend([GeErdBinarySensor(self, ErdCode.LAUNDRY_WASHER_POWERSTEAM)])
if self.has_erd_code(ErdCode.LAUNDRY_WASHER_PREWASH):
washer_entities.extend([GeErdBinarySensor(self, ErdCode.LAUNDRY_WASHER_PREWASH)])
if self.has_erd_code(ErdCode.LAUNDRY_WASHER_TUMBLECARE):
washer_entities.extend([GeErdBinarySensor(self, ErdCode.LAUNDRY_WASHER_TUMBLECARE)])
return washer_entities

View File

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