mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +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_component_unrecorded_attributes = frozenset({ATTR_OPTIONS})
|
||||||
|
|
||||||
entity_description: SelectEntityDescription
|
entity_description: SelectEntityDescription
|
||||||
_attr_current_option: str | None
|
_attr_current_option: str | None = None
|
||||||
_attr_options: list[str]
|
_attr_options: list[str]
|
||||||
_attr_state: None = None
|
_attr_state: None = None
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user