Releases: saboaua/Property-Bridge
Release list
v0.3.1
v0.3.0
v0.2.8
v0.2.6
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
Release Notes — v0.2.1
This patch update enhances connection configuration handling by expanding auto-detection capabilities for Nabu Casa cloud instances and improving UI string descriptions for external network setups.
🛠️ Key Changes & Enhancements
Version Bump: Updated
manifest.jsonfrom0.2.0to0.2.1.Nabu Casa Auto-Detection: Extended automatic endpoint resolution to support
.ui.nabu.casaURLs—matching existing DuckDNS auto-detection behavior by automatically configuring HTTPS and port 443 defaults.DuckDNS Auto-Detection Verified: Re-confirmed auto-detection logic for
.duckdns.orghostnames (enforcing HTTPS scheme and port 443).Clearer UI Strings: Updated host/port configuration labels and error messaging across the setup and options flows to explicitly reference DuckDNS and Nabu Casa endpoint patterns.
📦 File Summary
Item | Description / Change -- | -- Version | 0.2.0 → 0.2.1 (manifest.json) DuckDNS | Auto-detects .duckdns.org hostnames → sets HTTPS & port 443 Nabu Casa | Auto-detects .ui.nabu.casa hostnames → sets HTTPS & port 443 UI Strings | Host/port field labels & error messages updated with DuckDNS & Nabu Casa guidancev0.2
🛠️ Key Highlights & New Features
- 🏷️ Automatic Area & Label Assignment
- Automatically organize devices and entities in Home Assistant by property using newly integrated registry helpers.
- Registry Helpers (helpers.py): Added async_ensure_area, async_ensure_label, and async_assign_entity_area_label to perform slugification, lookup/creation, and automatic entity assignment.
- Connection Lifecycle (connection.py): During async_connect, the integration creates an Area and Label named after the property (when enabled) and persists area_id and label_id directly in entry options.
- Config & Options UI: Added user toggles (create_area, create_label) to enable or disable automatic property-level grouping.
- 🔑 Rental Calendar Helpers (Check-in / Check-out Presets)
Streamline turnover workflows by triggering preset scenes and scripts directly from calendar events.
- New Services:
- property_bridge.apply_checkin_preset: Executes pre-configured check-in scenes and/or scripts.
- property_bridge.apply_checkout_preset: Executes turnover scripts/scenes for guest check-outs.
- Flexible Configuration: Added Options Flow selector fields for checkin_script, checkout_script, checkin_scene, and checkout_scene.
- Documentation & Examples: Fully documented in services.yaml and translation strings, complete with an example calendar-triggered turnover automation in the README.md.
- 🛠️ Multi-Tenant Maintenance Windows & Consent Engine
Manage property access cleanly with explicit tenant consent and auto-expiring maintenance permissions.
- State Tracking (BridgeConnection): Tracks maintenance_allowed_until, consent_granted, and maintenance_requested states across connection loops.
- Consent & Window Services:
- property_bridge.grant_maintenance_consent: Grants access permission from the tenant side.
- property_bridge.request_maintenance_window: Requests access for a custom duration (in hours), validating against consent rules.
- property_bridge.end_maintenance_window: Immediately revokes maintenance status and locks down access.
- New Entities:
- Binary Sensors: Maintenance Allowed, Maintenance Consent.
- Sensor: Maintenance Until (timestamp tracking auto-expiry).
- Automated Expiry & Persistence: Background loop handles real-time window expiration while storing active states in entry options.
- Configurable Parameters: Added options to enable/disable the maintenance subsystem, enforce mandatory consent, and set default window durations.
📥 Installation & Upgrade
Via HACS
- Open HACS in your Home Assistant sidebar.
- Locate Property Bridge, click the options menu (...), and select Redownload.
- Select version v1.6.0 and click Download.
- Restart Home Assistant (Settings > System > Restart).
Manual Installation
- Download property_bridge_v1.6.0.zip from the release assets below.
- Extract and replace files in /config/custom_components/property_bridge/.
- Restart Home Assistant (Settings > System > Restart).