mirror of
https://github.com/home-assistant/core.git
synced 2026-04-28 18:12:37 +02:00
Initialize time _attr_native_value with None (#143171)
This commit is contained in:
@@ -72,7 +72,7 @@ class TimeEntity(Entity, cached_properties=CACHED_PROPERTIES_WITH_ATTR_):
|
||||
"""Representation of a Time entity."""
|
||||
|
||||
entity_description: TimeEntityDescription
|
||||
_attr_native_value: time | None
|
||||
_attr_native_value: time | None = None
|
||||
_attr_device_class: None = None
|
||||
_attr_state: None = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user