Skip to content

Commit

Permalink
Merge pull request #50 from andrey-git/fix-schedule-state-full
Browse files Browse the repository at this point in the history
Fix schedule state full
  • Loading branch information
gjohansson-ST authored Jul 8, 2023
2 parents bc93ed3 + 310a14b commit c8cbe3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pysensibo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ async def async_get_devices_data(self) -> SensiboData:
).replace(tzinfo=timezone.utc)
_state_full: dict[str, Any] = schedule["acState"]
new_state_full = {}
for key, value in _state_full:
for key, value in _state_full.items():
new_state_full[key.lower()] = (
value.lower if isinstance(value, str) else value
)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
print(find_packages())
setup(
name="pysensibo",
version="1.0.30",
version="1.0.31",
description="asyncio-friendly python API for Sensibo",
long_description="asyncio-friendly python API for Sensibo"
"(https://sensibo.com). Requires Python 3.9+",
"(https://sensibo.com). Requires Python 3.10+",
url="https://github.com/andrey-git/pysensibo",
license="MIT",
classifiers=[
Expand Down

0 comments on commit c8cbe3a

Please sign in to comment.