Source code for caspia.meadow.services.sun

from .base import Characteristic, ServiceBase


[docs]class SunBase(ServiceBase): """ Gives information about sun. """ type = 'sun' sunrise = Characteristic('date-time', 'RN') sunset = Characteristic('date-time', 'RN') azimuth = Characteristic('float', 'RN') elevation = Characteristic('float', 'RN')