Fix pa_volume knobs not having the correct initial style and value

This commit is contained in:
Moritz Ruth 2024-06-20 10:20:52 +02:00
parent 96451e3c91
commit 8797f61746
Signed by: moritzruth
GPG key ID: C9BBAB79405EE56D

View file

@ -202,6 +202,9 @@ async fn manage_knob(path: KnobPath, config: KnobConfig, mut events: broadcast::
}
};
update_knob_style(&entity_state);
update_knob_value(&entity_state);
loop {
tokio::select! {
Ok(volume_state) = volume_states.recv() => {