updated apps

This commit is contained in:
2026-07-14 23:57:03 -04:00
parent 6cc7212cef
commit 010e828e9c
797 changed files with 45153 additions and 4246 deletions
+2 -2
View File
@@ -188,7 +188,7 @@ class LutRegistry:
_LOGGER.debug("Loading LUT data file: %s", path)
return open(path)
raise LutFileNotFoundError("Data file not found: %s")
raise LutFileNotFoundError(f"Data file not found: {path}")
class LutStrategy(PowerCalculationStrategyInterface):
@@ -312,7 +312,7 @@ class LutStrategy(PowerCalculationStrategyInterface):
)
light_setting.hue = int(hs[0] / 360 * 65535)
light_setting.saturation = int(hs[1] / 100 * 255)
except (KeyError, TypeError, ValueError):
except KeyError, TypeError, ValueError:
_LOGGER.error(
"%s: Could not calculate power. no hue/sat set. "
"Please check the attributes of your light in the developer tools.",