mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Missing doc string for one method.
This commit is contained in:
parent
9026a78a66
commit
ecb0567d03
@ -46,6 +46,7 @@ def track_sun(eventbus, statemachine, latitude, longitude):
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
def update_sun_state(now):
|
def update_sun_state(now):
|
||||||
|
""" Method to update the current state of the sun and time the next update. """
|
||||||
observer = ephem.Observer()
|
observer = ephem.Observer()
|
||||||
observer.lat = latitude
|
observer.lat = latitude
|
||||||
observer.long = longitude
|
observer.long = longitude
|
||||||
|
Loading…
x
Reference in New Issue
Block a user