AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Set child mute status on the frontend

Open SteveMicroNova opened this issue 10 months ago • 1 comments

We currently await the next api call to make all child mute icons toggle when a parent mute is set, we should set that mute status locally rather than waiting for the next get request to help avoid the illusion of lag

SteveMicroNova avatar Feb 03 '25 16:02 SteveMicroNova

If you want something a little more open ended, this also needs to be done for basically every state-changing transaction more or less

Whenever you change state, assume that the state changed and manually update it rather than waiting for the next /api call. Search around for cases where this comes up, both in the frontend and in the home assistant plugin

SteveMicroNova avatar Apr 04 '25 17:04 SteveMicroNova