Initialize EsphomeEntity._has_state (#147877)

This commit is contained in:
Erik Montnemery 2025-07-01 14:33:33 +02:00 committed by Franck Nijhof
parent d5d1b620d0
commit e272ab1885
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952

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__(