Skip to content

Commit 182e785

Browse files
Merge pull request #16 from DavesCodeMusings/dimmer_bug_fix
Dimmer bug fix
2 parents 40faadb + 691e4b8 commit 182e785

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

bthome.mpy

0 Bytes
Binary file not shown.

src/bthome.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class BTHome:
9494
HUMIDITY_UINT8_X1 = const(0x2E) # %
9595
MOISTURE_UINT8_X1 = const(0x2F) # %
9696
BUTTON_UINT8 = const(0x3A) # 01 = press, 02 = long press, etc.
97-
DIMMER_UINT16 = const(0x03A) # 01xx = rotate left xx steps, 02xx = rotate right xx steps
97+
DIMMER_UINT16 = const(0x03C) # 01xx = rotate left xx steps, 02xx = rotate right xx steps
9898
COUNT_UINT16_X1 = const(0x3D)
9999
COUNT_UINT32_X1 = const(0x3E)
100100
ROTATION_SINT16_X10 = const(0x3F) # °

0 commit comments

Comments
 (0)