Skip to content

Commit 0eb6624

Browse files
authored
Merge pull request #92 from samspade21/development
Release v1.7.3
2 parents 976bb22 + dc70795 commit 0eb6624

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@ 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
8+
## [1.7.3] - 2025-12-24
9+
10+
### Fixed
11+
- Fixed thread safety violations in sensor signal handlers (#91)
12+
- Eliminated RuntimeError when sensors update from coordinator threads
13+
- Replaced direct `async_write_ha_state()` calls with `call_soon_threadsafe()`
14+
- Ensured occupancy and next stay sensors update correctly at check-in time
15+
- Prevented sensor update failures occurring every 2 hours during reservation updates
16+
- Fixed options flow initialization causing 500 Internal Server Error when opening integration settings
17+
- Corrected OptionsFlow base class initialization to not pass config_entry argument
18+
19+
## [1.7.2] - 2025-12-24
920

1021
### Fixed
1122
- Fixed options flow initialization to prevent 500 errors when opening Vacasa settings

VERSION

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

custom_components/vacasa/config_flow.py

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

196196
def __init__(self, config_entry: config_entries.ConfigEntry) -> None:
197197
"""Initialize options flow."""
198-
super().__init__(config_entry)
198+
super().__init__()
199199
self.config_entry = config_entry
200200

201201
async def async_step_init(self, user_input: Optional[Dict[str, Any]] = None) -> FlowResult:

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.2"
11+
"version": "1.7.3"
1212
}

tests/test_config_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77

88
def test_options_flow_initializes_base_class():
9-
"""Ensure the options flow handler initializes its base class."""
9+
"""Ensure the options flow handler initializes correctly."""
1010
entry = SimpleNamespace(hass="hass")
1111
handler = VacasaOptionsFlowHandler(entry)
1212
assert handler.config_entry is entry
13-
assert handler.hass == "hass"
13+
# Note: hass attribute is set by the flow manager, not in __init__

0 commit comments

Comments
 (0)