diff --git a/src/Traits/Light.php b/src/Traits/Light.php index f48ff07..8be9283 100644 --- a/src/Traits/Light.php +++ b/src/Traits/Light.php @@ -74,7 +74,7 @@ public function getBrightness(Device $device) */ public function setBrightness(Device $device, $value) { - $bright = dechex(round($value * 2.55)); + $bright = dechex($value); $rgb = $this->getRgb($device) ?? 'ffffff'; $this->miIO->send($device, 'set_rgb', [hexdec($bright . $rgb)]);