More lint fixes

This commit is contained in:
rospogrigio
2020-09-28 15:21:35 +02:00
committed by rospogrigio
parent 56c266d344
commit e5ce098016
2 changed files with 2 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ class TuyaInterface:
return self.exchange(SET, {str(dps_index): value})
def _decode_received_data(self, data, is_status):
"""decode the response data received from the device"""
"""Decode the response data received from the device."""
# is_status may be True (result of a status request)
# or False (result of a set_dps request)
result = data[20:-8] # hard coded offsets