mirror of https://github.com/simbaja/ha_gehome.git
- updated water heater naming
This commit is contained in:
parent
7852885adf
commit
0a207c573a
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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):
|
||||
|
|
4
info.md
4
info.md
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue