mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Initialize select _attr_current_option with None (#145026)
This commit is contained in:
@ -127,7 +127,7 @@ class SelectEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
||||
_entity_component_unrecorded_attributes = frozenset({ATTR_OPTIONS})
|
||||
|
||||
entity_description: SelectEntityDescription
|
||||
_attr_current_option: str | None
|
||||
_attr_current_option: str | None = None
|
||||
_attr_options: list[str]
|
||||
_attr_state: None = None
|
||||
|
||||
|
Reference in New Issue
Block a user