parent
5714f156c3
commit
c46ba3446d
|
@ -15,7 +15,7 @@ import homeassistant.util.dt as dt_util
|
|||
from homeassistant.helpers.entity import Entity
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
REQUIREMENTS = ['astral==1.3.4']
|
||||
REQUIREMENTS = ['astral==1.4']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ from homeassistant.util import dt as dt_util
|
|||
import homeassistant.helpers.config_validation as cv
|
||||
import homeassistant.util as util
|
||||
|
||||
REQUIREMENTS = ['astral==1.3.4']
|
||||
REQUIREMENTS = ['astral==1.4']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ apns2==0.1.1
|
|||
|
||||
# homeassistant.components.sun
|
||||
# homeassistant.components.sensor.moon
|
||||
astral==1.3.4
|
||||
astral==1.4
|
||||
|
||||
# homeassistant.components.light.avion
|
||||
# avion==0.5
|
||||
|
|
|
@ -109,6 +109,6 @@ class TestSun(unittest.TestCase):
|
|||
|
||||
assert state is not None
|
||||
assert sun.next_rising_utc(self.hass) == \
|
||||
datetime(2016, 7, 25, 23, 38, 21, tzinfo=dt_util.UTC)
|
||||
datetime(2016, 7, 25, 23, 23, 39, tzinfo=dt_util.UTC)
|
||||
assert sun.next_setting_utc(self.hass) == \
|
||||
datetime(2016, 7, 26, 22, 4, 18, tzinfo=dt_util.UTC)
|
||||
datetime(2016, 7, 26, 22, 19, 1, tzinfo=dt_util.UTC)
|
||||
|
|
Loading…
Reference in New Issue