Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek committed Jun 8, 2024
1 parent 1001edb commit 52caabf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

# incomfort-client

Python client library for **Intergas boilers** accesible via a **Lan2RF gateway** by abstracting its HTTP API. It includes a basic CLI to demonstrate how to use the library.
Python client library for **Intergas boilers** accessible via a **Lan2RF gateway** by abstracting its HTTP API. It includes a basic CLI to demonstrate how to use the library.

This library was previously called **intouch-client**, as it is known in the UK as **InTouch**, but in mainland Europe (especially the Netherlands, where is it popular) it is known as **Incomfort**.

It is written for Python v3.9+. It is available as a [PyPi package](https://pypi.org/project/incomfort-client/).

With many thanks, the code was refactored by @zxdavb and maintained for about 5 years, and maintanance now has been taken over by @jbouwh to be able to cuntinue support.
With many thanks, the code was refactored by @zxdavb and maintained for about 5 years, and maintenance now has been taken over by @jbouwh to be able to continue support.

The library is used as backend code for the [Intergas InComfort/Intouch Lan2RF gateway](https://www.home-assistant.io/integrations/incomfort/) integration with [Home Assistant](https://www.home-assistant.io/).

### Porting from syncio libraries

This library is based upon https://github.com/bwesterb/incomfort, but uses **aiohttp** rather than synchronous I/O (such as **requests** or **httplib**).

Where possible, it uses uses the same methods and properties as **bwesterb/incomfort**, but with the following differences:
Where possible, it uses the same methods and properties as **bwesterb/incomfort**, but with the following differences:

- **`Gateway`** class

Expand Down
2 changes: 1 addition & 1 deletion incomfortclient/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(self, *args, **kwargs) -> None:

class InvalidGateway(IncomfortError):
def __str__(self) -> str:
err_msg = "Invalid/No reponse from Gateway"
err_msg = "Invalid/No response from Gateway"
err_tip = "(check the network/hostname, and the user credentials)"
if self.message:
return f"{err_msg}: {self.message} {err_tip}"
Expand Down
2 changes: 1 addition & 1 deletion script/setup
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ script/bootstrap
pre-commit install

echo "Setup done!"
echo "Activate the python venv: ic-venv by installing the Python extention (and debugger) in the dev container."
echo "Activate the python venv: ic-venv by installing the Python extension (and debugger) in the dev container."
echo "To activate the venv manually in a shell, run:"
echo "source \$VIRTUAL_ENV/bin/activate"

0 comments on commit 52caabf

Please sign in to comment.