Skip to content

Commit 65f19cb

Browse files
authored
Bump version for options flow fix (#90)
1 parent 5bbfef0 commit 65f19cb

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.7.2] - 2025-01-07
9+
10+
### Fixed
11+
- Fixed options flow initialization to prevent 500 errors when opening Vacasa settings
12+
813
## [1.7.1] - 2024-12-22
914

1015
### Fixed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.1
1+
1.7.2

custom_components/vacasa/config_flow.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,8 @@ class VacasaOptionsFlowHandler(config_entries.OptionsFlow):
195195

196196
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
197197
"""Initialize options flow."""
198-
super().__init__()
198+
super().__init__(config_entry)
199199
self.config_entry = config_entry
200-
# For test compatibility - in real HA, hass is set by framework
201-
if hasattr(config_entry, "hass"):
202-
self.hass = config_entry.hass
203200

204201
async def async_step_init(self, user_input: Optional[Dict[str, Any]] = None) -> FlowResult:
205202
"""Manage the options."""

custom_components/vacasa/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"iot_class": "cloud_polling",
99
"issue_tracker": "https://github.com/samspade21/vacasa-ha/issues",
1010
"requirements": ["aiohttp>=3.8.0"],
11-
"version": "1.7.1"
11+
"version": "1.7.2"
1212
}

0 commit comments

Comments
 (0)