kevinkk525 / pysmartnode

Micropython Smarthome framework
MIT License
116 stars 22 forks source link

DHT22:__init__() call to parent constructor missing positional parameter unit_index. #11

Closed jfmauzey closed 4 years ago

jfmauzey commented 4 years ago

In module pysmartnode.components.sensors in file dht22.py line 64. Argument list in call to super() is missing the third argument _unit_index. This causes a runtime error to be thrown. Simply add the missing parameter which is defined locally to the call and all is well.

kevinkk525 commented 4 years ago

Thanks a lot for reporting this issue! It should be fixed by https://github.com/kevinkk525/pysmartnode/commit/c48251dff6420bafa337b8a74d5bc684acf81a15

kevinkk525 commented 4 years ago

Oh and congrats on opening your first issue! And the first issue on my project :)