diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eef143..6aa4919 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.1] - 2025-12-18 + +### Fixed +- Fixed "Invalid handler specified" error during integration configuration by renaming config flow handler class from `HomebridgeUpdateFlowHandler` to `ConfigFlowHandler` to follow Home Assistant naming conventions +- Removed deprecated `CONNECTION_CLASS` class attribute from config flow handler + +### Changed +- Updated manifest.json version to 0.3.1 +- Updated hacs.json version to 0.3.1 + ## [0.3.0] - 2025-12-11 ### Added diff --git a/custom_components/homebridge_monitor/config_flow.py b/custom_components/homebridge_monitor/config_flow.py index 30cc3ff..e57b1d0 100644 --- a/custom_components/homebridge_monitor/config_flow.py +++ b/custom_components/homebridge_monitor/config_flow.py @@ -40,12 +40,11 @@ ) -class HomebridgeUpdateFlowHandler(config_entries.ConfigFlow): +class ConfigFlowHandler(config_entries.ConfigFlow): """Handle a config flow for homebridge_monitor, including reauth.""" VERSION = 1 DOMAIN = DOMAIN - CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_POLL def __init__(self) -> None: """Initialize flow state.""" diff --git a/custom_components/homebridge_monitor/manifest.json b/custom_components/homebridge_monitor/manifest.json index f436d8f..3ea2a88 100644 --- a/custom_components/homebridge_monitor/manifest.json +++ b/custom_components/homebridge_monitor/manifest.json @@ -6,5 +6,5 @@ "documentation": "https://github.com/Geek-MD/Homebridge_Monitor", "iot_class": "local_polling", "requirements": [], - "version": "0.3.0" + "version": "0.3.1" } diff --git a/hacs.json b/hacs.json index 61acb2c..050b77c 100644 --- a/hacs.json +++ b/hacs.json @@ -10,6 +10,6 @@ "tags": ["homebridge", "monitor", "updates", "plugins"], "authors": ["Geek-MD"], "domains": ["binary_sensor"], - "version": "0.3.0", + "version": "0.3.1", "repo_url": "https://github.com/Geek-MD/Homebridge_Monitor" }