mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Fix Smoothing configuration (#1476)
* Fix Smoothing out of sync when saving * Only force Smoothing for new devices * Re-Add Max/Min Brightness titles * UI - Fix: Correctly lookup current Instance Name in case instance IDs are not in order * Fix/Update AtmoOrb Firmware images
This commit is contained in:
@@ -1631,7 +1631,10 @@ function saveLedConfig(genDefLayout = false) {
|
||||
case "cololight":
|
||||
|
||||
var host = conf_editor.getEditor("root.specificOptions.host").getValue();
|
||||
result.smoothing = { enable: false };
|
||||
if (window.serverConfig.device.type !== ledType) {
|
||||
//smoothing off, if new device
|
||||
result.smoothing = { enable: false };
|
||||
}
|
||||
|
||||
if (genDefLayout === true) {
|
||||
|
||||
@@ -1667,7 +1670,11 @@ function saveLedConfig(genDefLayout = false) {
|
||||
|
||||
case "nanoleaf":
|
||||
case "wled":
|
||||
result.smoothing = { enable: false };
|
||||
case "yeelight":
|
||||
if (window.serverConfig.device.type !== ledType) {
|
||||
//smoothing off, if new device
|
||||
result.smoothing = { enable: false };
|
||||
}
|
||||
|
||||
case "adalight":
|
||||
case "atmo":
|
||||
|
Reference in New Issue
Block a user