LarsMichelsen / pmatic

Python API for Homematic. Easy to use.
https://larsmichelsen.github.io/pmatic/
GNU General Public License v2.0
34 stars 23 forks source link

Rh/utility functions #14

Closed Rolf-Hempel closed 8 years ago

Rolf-Hempel commented 8 years ago

Hello Lars,

This is my first pmatic pull request. It contains the two new utility functions sun_position and dew_point. In the examples directory I added two test cases. Comment lines in the Python code show the expected output.

I tested the code both on my PC (under Windows 7 and Linux) and the CCU2. I hope you will find the code useful.

Best Wishes, Rolf

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.2%) to 53.254% when pulling afb1ffca4ea63faa9f57c2b09a09badb7dcd9681 on Rolf-Hempel:rh/utility_functions into eef9a806e3ed320b4179a6b564b8b1d2fe9e4d2c on LarsMichelsen:master.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.2%) to 53.254% when pulling afb1ffca4ea63faa9f57c2b09a09badb7dcd9681 on Rolf-Hempel:rh/utility_functions into eef9a806e3ed320b4179a6b564b8b1d2fe9e4d2c on LarsMichelsen:master.

LarsMichelsen commented 8 years ago

Thanks a lot! code-quality/landscape found some minor issues. I'll fix them soon.