Skip to content

Commit b6ef2c7

Browse files
Update bthome.py fixing dimmer object id
1 parent 40faadb commit b6ef2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)