mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Re-adding the season attribute (#18523)
This commit is contained in:
@@ -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