mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
plugin change to turn leds off on power down
This commit is contained in:
@@ -150,6 +150,9 @@ sub power {
|
||||
$client->update_artwork(1);
|
||||
} else {
|
||||
$client->clear_artwork(1);
|
||||
if ($client->hasLED) {
|
||||
Plugins::SqueezeESP32::RgbLed::updateLED($client, 0);
|
||||
}
|
||||
}
|
||||
|
||||
return $res;
|
||||
|
||||
Reference in New Issue
Block a user