mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Explicitly opt-in to device name in the season integration (#94845)
This commit is contained in:
parent
76a5e6d7ce
commit
c7d636a371
@ -94,6 +94,7 @@ class SeasonSensorEntity(SensorEntity):
|
||||
|
||||
_attr_device_class = SensorDeviceClass.ENUM
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
_attr_options = ["spring", "summer", "autumn", "winter"]
|
||||
_attr_translation_key = "season"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user