Initialize EsphomeEntity._has_state (#147877)

This commit is contained in:
Erik Montnemery 2025-07-01 14:33:33 +02:00 committed by GitHub
parent 871296dff6
commit 2cb80e083e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -281,7 +281,7 @@ class EsphomeEntity(EsphomeBaseEntity, Generic[_InfoT, _StateT]):
_static_info: _InfoT
_state: _StateT
_has_state: bool
_has_state: bool = False
unique_id: str
def __init__(