- updated water heater naming

This commit is contained in:
Jack Simbach 2022-05-11 09:20:57 -04:00
parent 7852885adf
commit 0a207c573a
4 changed files with 11 additions and 3 deletions

View File

@ -1,6 +1,10 @@
# GE Home Appliances (SmartHQ) Changelog
## 0.6.2
- Fixed issue with water heater naming when no serial is present
## 0.6.1
- Fixed issue with water filter life sensor (@rgabrielson11)

View File

@ -48,7 +48,7 @@ class GeAbstractFridge(GeWaterHeater):
@property
def name(self) -> Optional[str]:
return f"{self.serial_number} {self.heater_type.title()}"
return f"{self.serial_or_mac} {self.heater_type.title()}"
@property
def target_temps(self) -> FridgeSetPoints:

View File

@ -41,7 +41,7 @@ class GeOven(GeWaterHeater):
@property
def unique_id(self) -> str:
return f"{DOMAIN}_{self.serial_number}_{self.oven_select.lower()}"
return f"{DOMAIN}_{self.serial_or_mac}_{self.oven_select.lower()}"
@property
def name(self) -> Optional[str]:
@ -50,7 +50,7 @@ class GeOven(GeWaterHeater):
else:
oven_title = "Oven"
return f"{self.serial_number} {oven_title}"
return f"{self.serial_or_mac} {oven_title}"
@property
def temperature_unit(self):

View File

@ -91,6 +91,10 @@ A/C Controls:
#### Bugfixes
{% if version_installed.split('.') | map('int') < '0.6.2'.split('.') | map('int') %}
- Fixed issue with water heater naming when no serial is present
{% endif %}
{% if version_installed.split('.') | map('int') < '0.6.1'.split('.') | map('int') %}
- Fixed issue with water filter life sensor (@rgabrielson11)
{% endif %}