{
 "flight": {
  "id": 32191,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Fix deprecated platform syntax in ESPHome configurations",
  "number": 1170,
  "source": "aidev",
  "commits": 4,
  "debrief": "GitHub Copilot takes a fix in esphome/esphome-devices, migrating device configurations off the platform key inside the esphome block, removed in ESPHome release. The change spans 148 files across four commits. Seven reviews raised two change requests and eight review comments, asking for checks on restore and flash-mode settings. The PR closed unmerged, a burn.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 2468,
  "closed_at": "2025-07-28T01:18:08+00:00",
  "deletions": 2445,
  "merged_at": null,
  "opened_at": "2025-07-28T00:02:38+00:00",
  "task_type": "fix",
  "body_chars": 1326,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:22:42.262355+00:00",
  "enriched_at": null,
  "body_excerpt": "ESPHome 2025.2.0 removed support for the `platform` key inside the `esphome` block in favor of dedicated component blocks for each platform type. This PR migrates all device configurations from the deprecated syntax to the new format.\n\n## Changes Made\n\n**Before:**\n```yaml\nesphome:\n  name: device-nam",
  "review_count": 7,
  "files_changed": 148,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 2,
  "og_generated_at": "2026-11-03T21:22:42.262355+00:00",
  "reviewer_excerpt": "All files need to be checked for `esp8266_restore_from_flash` and `board_flash_mode` and make sure there is a newline after all the new `esp8266` blocks created",
  "review_comment_count": 8,
  "reviewer_excerpt_url": "https://github.com/esphome/esphome-devices/pull/1170#pullrequestreview-3059756679"
 },
 "repo": {
  "name": "esphome-devices",
  "owner": "esphome",
  "stars": 340,
  "license": "GPL-3.0",
  "full_name": "esphome/esphome-devices",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": "2025-07-28T00:37:24+00:00",
   "url": "https://github.com/esphome/esphome-devices/pull/1170#pullrequestreview-3059745032",
   "kind": "changes_requested",
   "actor_login": "jesserockz"
  },
  {
   "at": "2025-07-28T00:44:56+00:00",
   "url": "https://github.com/esphome/esphome-devices/pull/1170#pullrequestreview-3059756679",
   "kind": "changes_requested",
   "actor_login": "jesserockz"
  },
  {
   "at": "2025-07-28T01:18:08+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "jesserockz"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Migrate ESPHome configurations from deprecated platform syntax to new format",
   "number": 1171,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 1985,
   "deletions": 1826,
   "merged_at": "2025-07-28T01:45:59+00:00",
   "opened_at": "2025-07-28T01:22:17+00:00",
   "task_type": "fix",
   "files_changed": 141,
   "hours_to_merge": 0.4
  }
 ],
 "pr_url": "https://github.com/esphome/esphome-devices/pull/1170",
 "page": "https://agentriders.com/logs/esphome/esphome-devices/1170/"
}