Skip to content

Commit

Permalink
Merge branch 'main' into hacs-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
loopj authored Apr 9, 2024
2 parents 9e4e43c + 2834817 commit 6f0b81a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Github Releases To Discord
if: github.repository == 'loopj/home-assistant-vantage'
uses: SethCohen/github-releases-to-discord@v1.13.1
uses: SethCohen/github-releases-to-discord@v1.15.0
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
username: "Release Changelog"
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
repos:
- repo: https://github.com/psf/black
rev: 23.10.1
rev: 24.3.0
hooks:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.3
rev: v0.3.5
hooks:
- id: ruff
args: ["--fix"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.6.1"
rev: "v1.9.0"
hooks:
- id: mypy
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions custom_components/vantage/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Config flow for Vantage InFusion Controller integration."""

from typing import Any

from aiovantage.discovery import (
Expand Down
1 change: 1 addition & 0 deletions custom_components/vantage/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Constants for the Vantage InFusion Controller integration."""

import logging

# Logging
Expand Down
1 change: 0 additions & 1 deletion custom_components/vantage/services.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Handle Vantage service calls."""


from aiovantage import Vantage
from aiovantage.models import Task
import voluptuous as vol
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Home assistant
homeassistant==2023.10.1
colorlog==6.7.0
colorlog==6.8.2

# Use a specific version of aiovantage
aiovantage==0.13.0
Expand All @@ -10,12 +10,12 @@ aiovantage==0.13.0

# Type stubs
voluptuous-stubs==0.1.1
homeassistant-stubs==2023.10.5
homeassistant-stubs==2024.1.5

# Linting, etc
black==23.10.1
mypy==1.6.1
ruff==0.1.3
black==24.1.1
mypy==1.8.0
ruff==0.1.14

# Other
pre-commit==3.5.0

0 comments on commit 6f0b81a

Please sign in to comment.