Re-adding the season attribute (#18523)
This commit is contained in:
1 parent
b066877453
commit
afe21b4408
1 file changed
+1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user