Sun Position: expose Sun properties to Python
commitcaaea1b0d7556166d23526529f98b52bb8b0b6d1
authorDamien Picard <dam.pic@free.fr>
Mon, 20 Mar 2023 13:03:44 +0000 (20 14:03 +0100)
committerDamien Picard <dam.pic@free.fr>
Mon, 20 Mar 2023 22:23:36 +0000 (20 23:23 +0100)
tree10a28d48853899dc1720e23725d5deda0fbd32ca
parent40a9c25ff7c2e58a3bf976d962b1ff38f27b9e79
Sun Position: expose Sun properties to Python

New properties are sun_azimuth, sun_elevation, sunrise_time and sunset_time.

This will allow scripters to access these properties from Python.
Since the values are computed from other variables during Sun
calculations, they are read-only.
sun_position/__init__.py
sun_position/properties.py