mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Explicitly opt-in to device name in the season integration (#94845)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user