Bump zigpy to 0.44.1 and zha-quirks to 0.0.69 (#68921)

* Make unit tests pass

* Flip response type check to not rely on it being a list
https://github.com/zigpy/zigpy/pull/716#issuecomment-1025236190

* Bump zigpy and quirks versions to ZCLR8 releases

* Fix renamed zigpy cluster attributes

* Handle the default response for ZLL `get_group_identifiers`

* Add more error context to `stage failed` errors

* Fix unit test returning lists as ZCL request responses

* Always load quirks when testing ZHA

* Bump zha-quirks to 0.0.69
This commit is contained in:
puddly 2022-03-31 11:26:27 -04:00 committed by GitHub
parent 398db35334
commit 0f6296e4b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 248 additions and 122 deletions

View file

@ -161,9 +161,9 @@ class Thermostat(ZhaEntity, ClimateEntity):
@property
def current_temperature(self):
"""Return the current temperature."""
if self._thrm.local_temp is None:
if self._thrm.local_temperature is None:
return None
return self._thrm.local_temp / ZCL_TEMP
return self._thrm.local_temperature / ZCL_TEMP
@property
def extra_state_attributes(self):
@ -272,7 +272,7 @@ class Thermostat(ZhaEntity, ClimateEntity):
@property
def hvac_modes(self) -> tuple[str, ...]:
"""Return the list of available HVAC operation modes."""
return SEQ_OF_OPERATION.get(self._thrm.ctrl_seqe_of_oper, (HVAC_MODE_OFF,))
return SEQ_OF_OPERATION.get(self._thrm.ctrl_sequence_of_oper, (HVAC_MODE_OFF,))
@property
def precision(self):