kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.94k stars 492 forks source link

Just a typo, but might break code #1248

Closed summa-code closed 1 year ago

summa-code commented 1 year ago

Latest code, it is the sample for Conditional function code

E1101: Instance of 'ConditionalRun' has no 'loop_count' member (no-member)

I think that it is run_loop_count


status_dict = {
    'string_status': f"The controller has looped {self.loop_count} times at {datetime.now()}",
    'loop_count': self.loop_count,
    'error': []
}
return status_dict```
kizniche commented 1 year ago

This issue has been mentioned on Radical DIY Forum. There might be relevant details there:

https://forum.radicaldiy.com/t/mycodo-v8-15-0-release/1362/1