- updated change log

- fixed oven light control (#144)
This commit is contained in:
Jack Simbach 2023-04-23 00:12:39 -04:00
parent 56106b7b71
commit 111951f136
5 changed files with 19 additions and 5 deletions

View File

@ -3,10 +3,14 @@
## 0.6.6
- Fixed issue with region setting (EU accounts) [#130]
- Bugfix: Fixed issue with region setting (EU accounts) [#130]
- Updated the temperature conversion (@partsdotpdf)
- Updated configuration documentation
- Modified dishwasher to include new functionality (@NickWaterton)
- Bugfix: Fixed oven typo (@jdc0730) [#149]
- Bugfix: UoM updates (@morlince) [#138]
- Updated light control (@tcgoetz) [#144]
- Dependency version bumps
## 0.6.5

View File

@ -10,6 +10,7 @@ from gehomesdk import (
OvenConfiguration,
ErdCooktopConfig,
CooktopStatus,
ErdOvenLightLevel,
ErdOvenLightLevelAvailability
)
@ -43,7 +44,9 @@ class OvenApi(ApplianceApi):
has_upper_raw_temperature = self.has_erd_code(ErdCode.UPPER_OVEN_RAW_TEMPERATURE)
has_lower_raw_temperature = self.has_erd_code(ErdCode.LOWER_OVEN_RAW_TEMPERATURE)
upper_light : ErdOvenLightLevel = self.try_get_erd_value(ErdCode.UPPER_OVEN_LIGHT)
upper_light_availability: ErdOvenLightLevelAvailability = self.try_get_erd_value(ErdCode.UPPER_OVEN_LIGHT_AVAILABILITY)
lower_light : ErdOvenLightLevel = self.try_get_erd_value(ErdCode.LOWER_OVEN_LIGHT)
lower_light_availability: ErdOvenLightLevelAvailability = self.try_get_erd_value(ErdCode.LOWER_OVEN_LIGHT_AVAILABILITY)
_LOGGER.debug(f"Oven Config: {oven_config}")
@ -74,7 +77,7 @@ class OvenApi(ApplianceApi):
oven_entities.append(GeErdSensor(self, ErdCode.UPPER_OVEN_RAW_TEMPERATURE))
if has_lower_raw_temperature:
oven_entities.append(GeErdSensor(self, ErdCode.LOWER_OVEN_RAW_TEMPERATURE))
if lower_light_availability is None or lower_light_availability.is_available:
if lower_light_availability is None or lower_light_availability.is_available or lower_light is not None:
oven_entities.append(GeOvenLightLevelSelect(self, ErdCode.LOWER_OVEN_LIGHT))
else:
oven_entities.extend([
@ -88,7 +91,7 @@ class OvenApi(ApplianceApi):
])
if has_upper_raw_temperature:
oven_entities.append(GeErdSensor(self, ErdCode.UPPER_OVEN_RAW_TEMPERATURE, self._single_name(ErdCode.UPPER_OVEN_RAW_TEMPERATURE)))
if upper_light_availability is None or upper_light_availability.is_available:
if upper_light_availability is None or upper_light_availability.is_available or upper_light is not None:
oven_entities.append(GeOvenLightLevelSelect(self, ErdCode.UPPER_OVEN_LIGHT, self._single_name(ErdCode.UPPER_OVEN_LIGHT)))

View File

@ -3,7 +3,7 @@
"name": "GE Home (SmartHQ)",
"config_flow": true,
"documentation": "https://github.com/simbaja/ha_gehome",
"requirements": ["gehomesdk==0.5.8","magicattr==0.1.5","slixmpp==1.7.1"],
"requirements": ["gehomesdk==0.5.9","magicattr==0.1.6","slixmpp==1.8.3"],
"codeowners": ["@simbaja"],
"version": "0.6.6"
}

View File

@ -1,6 +1,6 @@
{
"name": "GE Home (SmartHQ)",
"homeassistant": "2021.12.0",
"homeassistant": "2022.12.0",
"domains": ["binary_sensor", "sensor", "switch", "water_heater", "select", "button", "climate", "light", "number"],
"iot_class": "Cloud Polling"
}

View File

@ -46,6 +46,10 @@ A/C Controls:
#### Breaking Changes
{% if version_installed.split('.') | map('int') < '0.6.6'.split('.') | map('int') %}
- Requires HA version 2022.12.0 or later
{% endif %}
{% if version_installed.split('.') | map('int') < '0.6.0'.split('.') | map('int') %}
- Requires HA version 2021.12.0 or later
- Enabled authentication to both US and EU regions (may require re-auth)
@ -110,6 +114,9 @@ A/C Controls:
{% if version_installed.split('.') | map('int') < '0.6.6'.split('.') | map('int') %}
- Fixed region issues after setup (#130)
- Updated the temperature conversion (#137)
- UoM updates (#138)
- Fixed oven typo (#149)
- Updated light control (#144)
{% endif %}
{% if version_installed.split('.') | map('int') < '0.6.3'.split('.') | map('int') %}