Skip to content

Commit

Permalink
Merge pull request #257 from ocrease/Issue256
Browse files Browse the repository at this point in the history
Fix for ZeroconfServiceInfo deprecation warning
  • Loading branch information
ocrease authored Feb 6, 2025
2 parents 8c8e73b + efa060f commit 10d8965
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
rev: v0.9.5
hooks:
- id: ruff
args:
- --fix
- id: ruff-format
files: ^((custom_components)/.+)?[^/]+\.(py|pyi)$
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
args:
- --ignore-words-list=astroid,checkin,hass,iif,NotIn
- --quiet-level=2
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-json
exclude: (.vscode|.devcontainer)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/heatmiserneo/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import voluptuous as vol

from homeassistant.components.climate import UnitOfTemperature
from homeassistant.components.zeroconf import ZeroconfServiceInfo
from homeassistant.config_entries import ConfigFlow, ConfigFlowResult, OptionsFlow
from homeassistant.const import CONF_HOST, CONF_PORT
from homeassistant.core import callback
Expand All @@ -25,6 +24,7 @@
SelectSelectorConfig,
SelectSelectorMode,
)
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo

from . import HeatmiserNeoConfigEntry, hold_duration_validation
from .const import (
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 20250206

- Merged https://github.com/MindrustUK/Heatmiser-for-home-assistant/pull/257 by @ocrease, fixed ZeroconfServiceInfo deprecation warning

## 20250201

- Merged https://github.com/MindrustUK/Heatmiser-for-home-assistant/pull/254 by @ocrease, improved options configuration flow
Expand Down

0 comments on commit 10d8965

Please sign in to comment.