Skip to content

Commit 04642f7

Browse files
Alex Pinhasovmilo526
Alex Pinhasov
authored andcommitted
Revert "Run prettier"
This reverts commit 52c2b14.
1 parent 4764789 commit 04642f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/accessories/characteristics/brightness.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ export class BrightnessCharacteristic extends TuyaWebCharacteristic {
6363
) {
6464
stateValue = Number(data.color.brightness);
6565
} else if (data?.brightness && data?.max_brightness) {
66-
stateValue = Math.round(
67-
(Number(data.brightness) / data.max_brightness) * 100
68-
);
66+
stateValue = Math.round((Number(data.brightness) / data.max_brightness) * 100);
6967
}
7068

7169
if (stateValue) {

0 commit comments

Comments
 (0)