Traceback (most recent call last):
File "/home/ANT.AMAZON.COM/nayaashb/kats-agent/DeCAFAwil_Matter/src/DeCAFtests/decaf_tests/wifi/iot_test/test.py", line 5, in <module>
switch.on(5)
File "/home/ANT.AMAZON.COM/nayaashb/.local/lib/python3.10/site-packages/dlipower/dlipower.py", line 465, in on
self.geturl(url='outlet?%d=ON' % self.determine_outlet(outlet))
File "/home/ANT.AMAZON.COM/nayaashb/.local/lib/python3.10/site-packages/dlipower/dlipower.py", line 427, in determine_outlet
if outlet_int <= 0 or outlet_int > self.__len__():
File "/home/ANT.AMAZON.COM/nayaashb/.local/lib/python3.10/site-packages/dlipower/dlipower.py", line 269, in __len__
self.__len = len(self.statuslist())
TypeError: object of type 'NoneType' has no len()
code snippet :
error faced :