'Get the time and updates the states.'

@asyncio.coroutine
def async_update(self):

    from astral import Astral
    today = dt_util.as_local(dt_util.utcnow()).date()
    self._state = Astral().moon_phase(today)
