ESPHome + Home Assistant Workflow - Identify the task: new device/adopt, offline troubleshooting, or YAML feature changes. - For HA-side validation, discover ESPHome entities and map to devices before changing names. - For YAML changes, edit in ESPHome Device Builder (UI-first), validate, then install (USB first flash, OTA thereafter). - When building automations from ESPHome entities, follow for automation patterns. HA-side discovery (common) - Check integration state: - Find entities by name or area: - Map entity to device: Local helper (bundled) All reference and script files are relative…