mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Initialize select _attr_current_option with None (#145026)
This commit is contained in:
parent
71108d9ca0
commit
6dff975711
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user