diff --git a/homeassistant/components/sensor/darksky.py b/homeassistant/components/sensor/darksky.py index ad59f28adb3..a43ab888d04 100644 --- a/homeassistant/components/sensor/darksky.py +++ b/homeassistant/components/sensor/darksky.py @@ -43,7 +43,7 @@ DEPRECATED_SENSOR_TYPES = { # Sensor types are defined like so: # Name, si unit, us unit, ca unit, uk unit, uk2 unit SENSOR_TYPES = { - 'summary': ['Summary', None, None, None, None, None, None, []], + 'summary': ['Summary', None, None, None, None, None, None, ['daily']], 'minutely_summary': ['Minutely Summary', None, None, None, None, None, None, []], 'hourly_summary': ['Hourly Summary', None, None, None, None, None, None, diff --git a/tests/components/sensor/test_darksky.py b/tests/components/sensor/test_darksky.py index fb3c89db097..ccfe4344373 100644 --- a/tests/components/sensor/test_darksky.py +++ b/tests/components/sensor/test_darksky.py @@ -154,7 +154,7 @@ class TestDarkSkySetup(unittest.TestCase): assert mock_get_forecast.called assert mock_get_forecast.call_count == 1 - assert len(self.hass.states.entity_ids()) == 7 + assert len(self.hass.states.entity_ids()) == 9 state = self.hass.states.get('sensor.dark_sky_summary') assert state is not None