From c307706ae04d38fbbea76ea77ee29ec933d45bc8 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 10 Sep 2026 09:01:09 -0500 Subject: [PATCH] Point at can_proceed() for handshake-dependent flags --- esphome/core/entity_base.h | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/core/entity_base.h b/esphome/core/entity_base.h index d383466fee..8796e9f067 100644 --- a/esphome/core/entity_base.h +++ b/esphome/core/entity_base.h @@ -92,6 +92,7 @@ class EntityBase { // whenever possible: it is guaranteed and has none of the limitations below. Use this only when // the decision can only be made at boot. Must be called before MQTT and the API read the flag: // from on_boot at the default priority, or a setup() that runs above setup_priority::AFTER_WIFI. + // If the answer comes from a device handshake, hold setup with can_proceed() until it arrives. // Calls after setup finishes are undefined behavior: the flag is still written and an error is // logged, and from 2027.3.0 the call will be ignored. //