DarkSky weather / Fix states (#15174)

* DarkSky weather / Fix states

* fix lint

* fix tests
This commit is contained in:
Pascal Vizeli authored and GitHub committed 2018-06-28 12:23:32 +02:00
1 parent 4fbe3bb070
commit dbb786c548
2 files changed
+25 -5

No files matched your search

+1 -1
View File
@@ -48,4 +48,4 @@ class TestDarkSky(unittest.TestCase):
self.assertEqual(mock_get_forecast.call_count, 1)
state = self.hass.states.get('weather.test')
self.assertEqual(state.state, 'Clear')
self.assertEqual(state.state, 'sunny')