mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +00:00
Re-adding the season attribute (#18523)
This commit is contained in:
parent
b066877453
commit
afe21b4408
@ -245,6 +245,7 @@ class ForecastSensor(BaseSensor):
|
|||||||
if self._kind == TYPE_ALLERGY_FORECAST:
|
if self._kind == TYPE_ALLERGY_FORECAST:
|
||||||
outlook = self.pollen.data[TYPE_ALLERGY_OUTLOOK]
|
outlook = self.pollen.data[TYPE_ALLERGY_OUTLOOK]
|
||||||
self._attrs[ATTR_OUTLOOK] = outlook['Outlook']
|
self._attrs[ATTR_OUTLOOK] = outlook['Outlook']
|
||||||
|
self._attrs[ATTR_SEASON] = outlook['Season']
|
||||||
|
|
||||||
self._state = average
|
self._state = average
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user