Barma-lej / landroid-card

Landroid mower card for Home Assistant Lovelace UI
MIT License
95 stars 54 forks source link

Refresh the card automatically based on integration updates #332

Open Mincka opened 5 months ago

Mincka commented 5 months ago

Is your feature request related to a problem? Please describe. When I change an option such as "Party Mode" in the settings, the toggle goes back to the previous state after one second, and the status is not updated.

However, if I open another tab of my browser, the status is correct. Status is also correct in the app. So I understand that the card does to refresh its values automatically (at least for this).

Describe the solution you'd like Refresh the content of the card when values from the integration are updated.

Describe alternatives you've considered None.

Additional context Tested on landroid-card master (9eaaf53) with Landroid Cloud 5.0.2.

Barma-lej commented 5 months ago

Thank you, I am aware of this issue and I am working on resolving it. However, the upcoming release will still have this problem.

Swimmer71 commented 4 months ago

Same issue here: Party-mode, Lock and Time are not updated when changed in expaned setting menu. When menu is closed and opened again, then it is correct.

When changed direct in entity, it works (see the last 3 lines). But strange behavior: When you turn on e.g. party-mode, it switches on, then short time off and again on. At the end it is correct but still strange this behavior.

Screenshot_2024-05-14-08-45-24-34_c3a231c25ed346e59462e84656a70e50

Cptkex82 commented 4 months ago

I second this request but for another reason. I have a always on screen with landroids info and it doesnt update itself very often. I dont know if there is a timer built in for Refreshing the card data? The phone app can show updated info but the always on screen one stays the same