AmpliPi
AmpliPi copied to clipboard
Set child mute status on the frontend
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
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