Re-adding the season attribute (#18523)

This commit is contained in:
sdelliot 2018-11-18 18:35:36 -07:00 committed by Aaron Bach
parent b066877453
commit afe21b4408

View File

@ -245,6 +245,7 @@ class ForecastSensor(BaseSensor):
if self._kind == TYPE_ALLERGY_FORECAST:
outlook = self.pollen.data[TYPE_ALLERGY_OUTLOOK]
self._attrs[ATTR_OUTLOOK] = outlook['Outlook']
self._attrs[ATTR_SEASON] = outlook['Season']
self._state = average