Explicitly opt-in to device name in the season integration (#94845)
This commit is contained in:
parent
76a5e6d7ce
commit
c7d636a371
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue