jheling / freeathome

Free@Home component for Home Assistant
103 stars 37 forks source link

typo and layout fixes, tabs and space fixes, cleaned up some other stuff #30

Closed bartdorlandt closed 4 years ago

bartdorlandt commented 4 years ago

Hi Johan,

I noticed some mixes of spaces and tabs and while at it, I've style it a bit more according to pep8, while not trying to mess up your code too much.

I fixed some typos, like log to LOG, where you used it in capital, and somewhere else where it was log.nfo to log.info. Rewritten a few code line, from "if value == False", to "if not value". commented some unused imports and things like that.

jheling commented 4 years ago

Thank you for the cleanup. There are still much things I can learn about python