mirror of https://github.com/simbaja/ha_gehome.git
Merge pull request #22 from warrenrees/dev
Fix typos, update minimum version in hacs, added new washer ERDs
This commit is contained in:
commit
e71f96adae
|
@ -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)."""
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue