Polishing the code. Made it more pythonic.
Added help content. Removed cover sensor calculation