plugin change to turn leds off on power down

This commit is contained in:
Wizmo2
2023-05-01 09:45:10 +01:00
parent 290f4b5cb4
commit 959cbe0c38
3 changed files with 5 additions and 1 deletions

View File

@@ -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;