Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.9.4
rev: v0.11.13
hooks:
# Run the linter.
- id: ruff
Expand All @@ -10,10 +10,10 @@ repos:
# Run the formatter.
- id: ruff-format
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
rev: v1.37.1
hooks:
- id: yamllint
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.44.0
rev: v0.45.0
hooks:
- id: markdownlint
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

This is an integration of heating controllers from Polish company TECH Sterowniki Sp. z o.o. It uses [API](https://api-documentation.emodul.eu/) to their web control application eModul.eu, therefore your controller needs to be accessible from the Internet and you need an account either on <https://emodul.eu> or <https://emodul.pl>.

The integration is based on API provided by TECH which supports the controllers listed [here](https://github.com/mariusz-ostoja-swierczynski/tech-controllers?tab=readme-ov-file#rocket-list-of-reported-working-tech-controllers)
The integration is based on API provided by TECH which supports the [list of compatible controllers](https://github.com/mariusz-ostoja-swierczynski/tech-controllers?tab=readme-ov-file#rocket-list-of-reported-working-tech-controllers)

The integration was developed and tested against eModul demo account (username: `test`/password: `test`) which features 4 controllers:

Expand Down
2 changes: 2 additions & 0 deletions custom_components/tech/tech.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""Python wrapper for getting interaction with Tech devices."""

import asyncio
from collections.abc import Callable
from functools import wraps
import json
import logging
import time
Expand Down
24 changes: 12 additions & 12 deletions devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1739858011,
"lastModified": 1750097069,
"owner": "cachix",
"repo": "devenv",
"rev": "e963201a79150f913e4b95be1cfef8c4a301679c",
"rev": "ab8a1563714393d366b2db7d93f021afb45e7a6f",
"type": "github"
},
"original": {
Expand All @@ -19,10 +19,10 @@
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1733328505,
"lastModified": 1747046372,
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
Expand All @@ -34,10 +34,10 @@
"flake-compat_2": {
"flake": false,
"locked": {
"lastModified": 1733328505,
"lastModified": 1747046372,
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
Expand All @@ -55,10 +55,10 @@
]
},
"locked": {
"lastModified": 1737465171,
"lastModified": 1749636823,
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
"rev": "623c56286de5a3193aa38891a6991b28f9bab056",
"type": "github"
},
"original": {
Expand Down Expand Up @@ -89,10 +89,10 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1733477122,
"lastModified": 1746807397,
"owner": "cachix",
"repo": "devenv-nixpkgs",
"rev": "7bd9e84d0452f6d2e63b6e6da29fe73fac951857",
"rev": "c5208b594838ea8e6cca5997fbf784b7cca1ca90",
"type": "github"
},
"original": {
Expand All @@ -110,10 +110,10 @@
]
},
"locked": {
"lastModified": 1733319315,
"lastModified": 1749760516,
"owner": "cachix",
"repo": "nixpkgs-python",
"rev": "01263eeb28c09f143d59cd6b0b7c4cc8478efd48",
"rev": "908dbb466af5955ea479ac95953333fd64387216",
"type": "github"
},
"original": {
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
colorlog==6.9.0
homeassistant==2025.1.4
pip==25.0
ruff==0.9.4
pre-commit
homeassistant==2025.6.1
pip==25.1.1
ruff==0.11.13
pre_commit==4.2.0
zlib-ng==0.5.1
24 changes: 12 additions & 12 deletions requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
asynctest==0.13.0
aioresponses==0.7.8
codecov==2.1.13
coverage==7.6.10
jsonpickle==4.0.1
coverage==7.6.12
jsonpickle==4.1.1
mock-open==1.4.0
mypy==1.15.0
pylint==3.3.4
astroid==3.3.8
pipdeptree==2.25.0
mypy==1.16.1
pylint==3.3.7
astroid==3.3.10
pipdeptree==2.26.1
pylint-strict-informational==0.1
pytest-aiohttp==1.1.0
pytest-asyncio==0.25.3
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-test-groups==1.1.0
pytest-test-groups==1.2.1
pytest-sugar==1.0.0
pytest-timeout==2.3.1
pytest-xdist==3.6.1
pytest==8.3.4
pytest==8.3.5
requests-mock==1.12.1
responses==0.25.6
stdlib-list==0.11.0
responses==0.25.7
stdlib-list==0.11.1
tqdm==4.67.1
pytest-homeassistant-custom-component==0.13.205
pytest-homeassistant-custom-component==0.13.252
24 changes: 12 additions & 12 deletions requirements_test_api.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
asynctest==0.13.0
aioresponses==0.7.8
codecov==2.1.13
coverage==7.6.10
jsonpickle==4.0.1
coverage==7.6.12
jsonpickle==4.1.1
mock-open==1.4.0
mypy==1.15.0
pylint==3.3.4
astroid==3.3.8
pipdeptree==2.25.0
mypy==1.16.1
pylint==3.3.7
astroid==3.3.10
pipdeptree==2.26.1
pylint-strict-informational==0.1
pytest-aiohttp==1.1.0
pytest-asyncio==0.25.3
pytest-asyncio==0.26.0
pytest-cov==6.0.0
pytest-test-groups==1.1.0
pytest-test-groups==1.2.1
pytest-sugar==1.0.0
pytest-timeout==2.3.1
pytest-xdist==3.6.1
pytest==8.3.4
pytest==8.3.5
pytest-md==0.2.0
pytest-emoji==0.2.0
requests-mock==1.12.1
responses==0.25.6
stdlib-list==0.11.0
responses==0.25.7
stdlib-list==0.11.1
tqdm==4.67.1
SQLAlchemy==2.0.36
SQLAlchemy==2.0.40
1 change: 0 additions & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ select = [
"S317", # suspicious-xml-sax-usage
"S318", # suspicious-xml-mini-dom-usage
"S319", # suspicious-xml-pull-dom-usage
"S320", # suspicious-xmle-tree-usage
"S601", # paramiko-call
"S602", # subprocess-popen-with-shell-equals-true
"S604", # call-with-shell-equals-true
Expand Down
Loading