your
def get_fan_details()
method does not use the other two methods def get_fan_speed()
and get_fan_status()
:return { 'NumOfFantrays':NumFanTrays, 'NumofFans':NumFans, 'FanSpeed':self.get_fan_speed(FanSpeed), 'FanStatus':self.get_fan_status(FanOperStatus) }if you are not able to debug soemthing like this, better read again some class basics tutorial
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs