Stop the calendar blinking empty after saving an event
Routing the post-save reload through the manual sync button made a new Home Assistant event appear, but at the cost of invalidateCache(), which drops the cached events as well as the range bounds — so every event vanished and reappeared for one new one. That reads as unfinished, and it is. Only the range bounds have to go: nil bounds are what force the next fetch to reach the server. The events can stay on screen until the fresh ones replace them. Saving now does exactly that and nothing more; the menu's manual sync keeps clearing everything, which is what a full refresh is for. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
75ae038529
commit
2db4b42fa1
BIN
Binary file not shown.
Reference in New Issue
Block a user