github jsight/ha-pecron v0.3.3
v0.3.3: Instant Switch Updates

latest releases: v0.5.0, v0.4.1, v0.4.0...
3 months ago

🔧 Critical Fix: v0.3.3 - Instant Switch Updates

Fixes the annoying issue where toggling switches didn't update the UI!

🐛 Bug Fixed

Problem: Toggling AC/DC switches sent the command successfully, but the UI still showed the old state until the next scheduled refresh (up to 10 minutes later).

Solution: Implemented optimistic UI updates for instant feedback.

✨ How It Works Now

  1. You toggle a switch → UI updates instantly
  2. Command sent to device → Happens in background
  3. If successful → Coordinator refreshes to confirm actual state
  4. If failed → UI automatically reverts + shows error notification

🎯 User Experience

Before:

  • Toggle switch
  • UI shows old state
  • Wait up to 10 minutes for UI to update 😤

After:

  • Toggle switch
  • UI updates immediately ✨
  • Confirmed by device within seconds
  • Auto-reverts if command fails

📦 Upgrade

This is a critical UX fix - highly recommended!

Via HACS:

  1. Update to v0.3.3
  2. Reload integration

Via Manual:

  1. Download and extract
  2. Copy to custom_components/pecron
  3. Restart Home Assistant

Full Changelog: https://github.com/jsight/ha-pecron/blob/main/CHANGELOG.md

Enjoy responsive switches! 🎉

Don't miss a new ha-pecron release

NewReleases is sending notifications on new releases.