Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Add strict typing file
Browse files Browse the repository at this point in the history
  • Loading branch information
peternijssen committed Oct 30, 2021
1 parent fd9621c commit ca8322f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "spiderpy"
version = "1.7.1"
version = "1.7.2"
description = "Python wrapper for the Spider API, a way to manage your Spider installation"
authors = ["Peter Nijssen <[email protected]>"]
license = "MIT"
Expand Down
Empty file added spiderpy/py.typed
Empty file.
2 changes: 1 addition & 1 deletion spiderpy/spiderapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def update(self) -> None:
self.update_thermostats()
self.update_power_plugs()

self._last_refresh = int(time.time())
self._last_refresh = current_time

def update_thermostats(self) -> None:
""" Retrieve thermostats """
Expand Down

0 comments on commit ca8322f

Please sign in to comment.