More lint fixes

This commit is contained in:
rospogrigio authored and rospogrigio committed 2020-09-30 11:51:13 +02:00
1 parent 56c266d344
commit e5ce098016
2 files changed
+2 -2

No files matched your search

@@ -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