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
8 changes: 7 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ updates:
labels:
- "dependencies"
- "python"
ignore:
- dependency-name: "aiohttp"
groups:
test-dependencies:
patterns:
- "*"

- package-ecosystem: "github-actions"
directory: ".github"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down
3 changes: 1 addition & 2 deletions custom_components/rce_pse/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from typing import Any

import aiohttp
import async_timeout
from homeassistant.core import HomeAssistant
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator, UpdateFailed
from homeassistant.util import dt as dt_util
Expand Down Expand Up @@ -86,7 +85,7 @@ async def _async_update_data(self) -> dict[str, Any]:
self.session = aiohttp.ClientSession()

try:
async with async_timeout.timeout(30):
async with asyncio.timeout(30):
data = await self._fetch_data()
self._last_api_fetch = now
_LOGGER.debug("Successfully fetched fresh data from PSE API, records count: %d",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/rce_pse/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"integration_type": "service",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/Lewa-Reka/ha-rce-pse/issues",
"requirements": ["aiohttp>=3.8.0", "async_timeout>=4.0.0"],
"requirements": [],
"version": "11.22.33"
}
3 changes: 0 additions & 3 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ pytest-homeassistant-custom-component>=0.13.246
# Home Assistant core for testing
homeassistant>=2025.5.3

# HTTP client for API testing
aiohttp>=3.8.0

# Mock and testing utilities
pytest-mock>=3.15.1
responses>=0.26.0
Loading