Traceback (most recent call last):
File "/home/pi/script3.py", line 9, in
data = d.detect_available_dps()
File "/home/pi/.local/lib/python3.9/site-packages/tinytuya/core.py", line 1392, in detect_available_dps
if "dps" in data:
TypeError: argument of type 'NoneType' is not iterable
To get Detect_Available_DPS working :
Traceback (most recent call last): File "/home/pi/script3.py", line 9, in
data = d.detect_available_dps()
File "/home/pi/.local/lib/python3.9/site-packages/tinytuya/core.py", line 1392, in detect_available_dps
if "dps" in data:
TypeError: argument of type 'NoneType' is not iterable
Based on https://github.com/jasonacox/tinytuya/issues/171