Skip to content

v1.1.0: feat: Add lock domain support

Choose a tag to compare

@nitaybz nitaybz released this 16 Aug 03:36

🔐 Optimistic Feedback v1.1.0 - Lock Support

Expand your instant feedback to smart locks! This release adds comprehensive support for lock devices with all the same great features.

🆕 New Features

Lock Domain Support

  • Full lock integration - Supports all lock services (lock, unlock, toggle)
  • Smart state prediction - Instantly shows locked/unlocked states
  • Toggle intelligence - Analyzes current lock state for accurate toggle predictions
  • All existing features - Debounce timing, include/exclude filtering, and error recovery

Supported Lock Services

Service Predicted State Example
lock locked Door lock engages
unlock unlocked Door lock releases
toggle Smart prediction Locked → Unlocked, Unlocked → Locked

🔧 Technical Improvements

  • Enhanced service mapping with lock-specific states
  • Updated toggle resolution logic for lock domain
  • Improved documentation with lock examples
  • Added lock domain to all configuration options

📚 Documentation Updates

  • Added lock to supported domains list
  • Updated service table with lock operations
  • Enhanced README with lock usage examples
  • Added sponsorship information for project support

🎯 Usage

Once updated, locks will automatically gain optimistic feedback:

  • Tap lock → UI instantly shows "locked"
  • Tap unlock → UI instantly shows "unlocked"
  • Real device state overwrites if command fails

🚀 Installation

Via HACS:
Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Manual Update:
Replace your custom_components/optimistic_feedback folder with the new version and restart Home Assistant.


Full Changelog: v1.0.1...v1.1.0