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

View File

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