Skip to content

Commit

Permalink
Merge pull request #59 from andrey-git/fix-broken-capa
Browse files Browse the repository at this point in the history
Fix broken capabilities
  • Loading branch information
gjohansson-ST authored Sep 12, 2023
2 parents cbc0ac7 + 4b86465 commit e17af6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pysensibo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def async_get_devices_data(self) -> SensiboData:

active_features = list(ac_states)
full_features = set()
if _capabilities := capabilities.get("modes") is not None:
if (_capabilities := capabilities.get("modes")) is not None:
for mode in _capabilities:
if "temperatures" in _capabilities[mode]:
full_features.add("targetTemperature")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
print(find_packages())
setup(
name="pysensibo",
version="1.0.34",
version="1.0.35",
description="asyncio-friendly python API for Sensibo",
long_description="asyncio-friendly python API for Sensibo"
"(https://sensibo.com). Supported on Python 3.11+",
Expand Down

0 comments on commit e17af6e

Please sign in to comment.