From 8797f61746b0c47ed91ed8acd0cbb30f70d83990 Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Thu, 20 Jun 2024 10:20:52 +0200 Subject: [PATCH] Fix pa_volume knobs not having the correct initial style and value --- handlers/pa_volume/src/handler.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handlers/pa_volume/src/handler.rs b/handlers/pa_volume/src/handler.rs index 0c7143a..8af42b1 100644 --- a/handlers/pa_volume/src/handler.rs +++ b/handlers/pa_volume/src/handler.rs @@ -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() => {