Extracts unique Home Assistant entity IDs from Lovelace dashboard YAML (entity:, entity_id:, script: lines, grid/solar, template variable values, states['…'] in JS). Produces alphabetized entities: (non-script only), separate scripts: list, counts, and satellite scripts.yaml stubs that call script.remote_<name> for dual-instance remote_homeassistant setups. Omits camera.*, replaces weather.local_weather with sensor.local_weather_forecast, excludes template/user placeholders. Decluttering templates are only scanned when reachable from active (non-comment) YAML. Use when auditing dashboard entities, building remote allowlists, inventorying dashboards/decluttering templates, or generating script forwarding stubs for a UI satellite instance.
Guides creation of reusable Home Assistant automation blueprints from similar automations: analysis, design, YAML implementation (metadata, variables, triggers, conditions, choose/actions), yamllint and functional checks, replacing instances while preserving IDs/aliases, and documentation. Use when consolidating automations into blueprints, writing blueprint YAML, or refactoring automations to blueprint instances.