Fix a broken Home Assistant install with OpenCode

Creator let OpenCode with GPT-5.6 Sol clean up a neglected Home Assistant Yellow, cutting 49 repairs to one under supervision.

Used for
Everyday life
Skill needed
Low code
Shown in video
Partial demo
Summary based on
Transcript
BeardedTinkerWatch on YouTube

I Gave AI 12 Hours to Fix My Broken Home Assistant

Published Nov 26, 202611:079,251 views162 likes

Key moments

  • 2:58First fix almost changed sensor meaning
  • 4:36Real Python bug fixed in Calendar Merge
  • 7:4649 repairs reduced to one

What they made

Repairs dropped from 49 to one, with a valid configuration and one required restart; the remaining item is an MQTT broker move left for a separate project.

49 repairs to 1

7:46

How they did it

  1. Human1:39

    Installed OpenCode on the Home Assistant Yellow, connected it via a custom access token, selected GPT-5.6 Sol and verified backups before read-only investigation.

    Stated in video · OpenCode
  2. AI2:11

    Investigated the installation and produced a repair plan covering broken templates, outdated integrations, missing notification services and unavailable sensors.

    Stated in video · OpenCode
  3. AI + human2:58

    Proposed an Elgato template fix that would have changed warmth sensors from mireds to kelvin; the human rejected it and the agent revised the patch to preserve original meaning.

    Stated in video · OpenCode
  4. AI + human3:45

    Suggested deleting an obsolete Minecraft monitoring automation; the human kept the goal, added the native Minecraft integration and the agent rebuilt monitoring around the real latency sensor.

    Stated in video · OpenCode
  5. AI + human4:36

    Traced a Calendar Merge failure to an 'N-GB' locale string and applied a one-line Python fix after human approval; the integration then ran with eight event sensors.

    Stated in video · OpenCode
  6. AI + human5:22

    Fixed the Random Joke integration by truncating the sensor state to 255 characters while keeping the full joke in an attribute.

    Stated in video · OpenCode
  7. AI + human6:42

    Identified shared root causes behind many warnings, removed confirmed-obsolete configs, migrated Telegram notifications and replaced the deprecated Open Sense air quality entity.

    Stated in video · OpenCode
  8. Human7:13

    Added and removed integrations, approved restarts and completed remaining repairs through the Home Assistant interface; the agent also hit its usage limit at one point.

    Stated in video

What you can reuse

  • An AI agent can clear a large repair backlog when given scoped tool access and human approval on substantive changes.
  • Review proposed fixes for behavior changes, not just error removal, as with the mireds-to-kelvin sensor change.
  • Keep backups and start read-only; the agent's own summary of its work was incomplete and inaccurate.

Trade-offs

  • The agent did not independently fix 48 separate bugs; several required direct human intervention and approvals.
  • Two Python fixes were local edits that a future integration update may overwrite.
  • Not every stored notification was tested end to end, and some unrelated runtime errors remain.
  • The agent hit its usage limit mid-session and its final summary misdescribed its own work.
  • The remaining repair involves moving MQTT to a broker on another server and was left for a separate project.

AI-generated case summaries can contain mistakes. Report an error

More cases like this: Run Home Assistant with AI

Related cases

Automate a smart home

Revive a 2019 Android TV with Claude Code

A creator used Claude Code over Wi-Fi to de-bloat his old Android TV and build a custom ad-free home screen, approving each risky step…

Claude Code111.2K views