Skip to content

Commit 475673f

Browse files
authored
Fix stop command on VMB1BL / VMB2BL covers (#73)
* Add support for VMB8PB * Black code formatting * Fixed cover off message for VMB1BL/VMB2BL
1 parent ab9faba commit 475673f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

velbus/messages/cover_off.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def data_to_binary(self):
106106
else:
107107
tmp = 0x0C
108108

109-
return bytes([COMMAND_CODE, tmp]) + struct.pack(">L", self.delay_time)[-3:]
109+
return bytes([COMMAND_CODE, tmp])
110110

111111

112112
register_command(COMMAND_CODE, CoverOffMessage2, "VMB1BL")

0 commit comments

Comments
 (0)