Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.22
rev: v0.16.9
hooks:
- id: ruff-check
args:
Expand All @@ -36,6 +36,6 @@ repos:
hooks:
- id: yamllint
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.9.5
rev: v3.9.9
hooks:
- id: prettier
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ python3 -m pyisy http://your-isy-url:port username password
import asyncio
from pyisy import ISY


async def main():
# Connect to ISY controller
isy = ISY("192.168.1.10", 80, "admin", "password")
Expand All @@ -52,6 +53,7 @@ async def main():
# Shutdown the connection
await isy.shutdown()


if __name__ == "__main__":
asyncio.run(main())
```
Expand Down
Loading