Skip to content

Commit 003ad94

Browse files
committed
Fix brightness on 0x62. Suddenly notifications are working.
1 parent 3b04fc0 commit 003ad94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

custom_components/lednetwf_ble/models/model_0x62.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ def __init__(self, manu_data):
9191
effect = self.manu_data[15]
9292
self.effect = EFFECT_ID_TO_NAME_0x62[effect]
9393
self.effect_speed = self.manu_data[17]
94-
self.brightness = int(self.manu_data[18] * 255 // 100)
94+
# self.brightness = int(self.manu_data[18] * 255 // 100)
95+
self.brightness = int(self.manu_data[18])
9596
self.color_mode = ColorMode.BRIGHTNESS
9697
self.is_on = True
9798

0 commit comments

Comments
 (0)