Initialize time _attr_native_value with None (#143171)

pull/143088/head^2
Sid 2025-04-19 12:08:29 +02:00 committed by GitHub
parent 09131d8647
commit 6e8c971038
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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