diff --git a/.github/workflows/pylint.yaml b/.github/workflows/pylint.yaml index cdac11c..40e37a3 100644 --- a/.github/workflows/pylint.yaml +++ b/.github/workflows/pylint.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11"] + python-version: ["3.12"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -25,4 +25,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') \ No newline at end of file + pylint $(git ls-files '*.py') diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index fa940b8..bb6c81e 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.11', '3.12'] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index fa4e3e8..bb57982 100644 --- a/README.md +++ b/README.md @@ -380,3 +380,6 @@ TeamTracker supports the following services. NOTE: The functionality and input parameters of the `call_api` service are subject to change as new uses emerge. If you have ideas or suggestions for specific use cases, open an Issue so they can be tracked. Additional details available on the Services tab in Developer Tools. + +## Tutorials +You will find a german tutorial how to use this integration here: https://youtu.be/CYK7JrNmvfg, and https://youtu.be/hh3kCk-f2vY (Created by Tristan's Smartes Heim) diff --git a/custom_components/teamtracker/__init__.py b/custom_components/teamtracker/__init__.py index 12fff9f..887316e 100644 --- a/custom_components/teamtracker/__init__.py +++ b/custom_components/teamtracker/__init__.py @@ -264,6 +264,7 @@ def update_team_info(self, sport_path, league_path, team_id, conference_id=""): self.sport_path = sport_path self.league_path = league_path + self.league_id = "XXX" self.team_id = team_id self.conference_id = conference_id diff --git a/custom_components/teamtracker/const.py b/custom_components/teamtracker/const.py index 7c245e5..22b18b4 100644 --- a/custom_components/teamtracker/const.py +++ b/custom_components/teamtracker/const.py @@ -195,7 +195,7 @@ # Misc TEAM_ID = "" -VERSION = "v0.14.2" +VERSION = "v0.14.3" ISSUE_URL = "https://github.com/vasqued2/ha-teamtracker" DOMAIN = "teamtracker" ATTRIBUTION = "Data provided by ESPN" diff --git a/requirements_test.txt b/requirements_test.txt index a5499b6..a000cb0 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,10 +1,10 @@ async-timeout black isort -pytest -pytest-asyncio -pytest-cov -pytest-mock -pytest-homeassistant-custom-component +pytest>=8.0.2 +pytest-asyncio>=0.23.5 +pytest-cov>=4.1.0 +pytest-mock>=3.14.0 +pytest-homeassistant-custom-component>=0.13.109 arrow aiofiles