Claude Code for Home Assistant - AI Assistant directly in your HA!

You have home assistant running a small country :scream:

Yeah, this addon is pretty awesome. I can’t wait to see how far it can go. I have been using it for a few hours so far and it is great!

Same here.
Haven’t been able to update, and I’m stuck on Sonnet 4.5. Auto-update doesn’t update. Running the update manually isn’t allowed. Tried rebuilding the App too, but to no avail.

1 Like

What a magic trick, thanks!

Alright, I need to step away from this for a bit…

Starting to feel genuine love for AI and scared at the same time. I spent the afternoon playing with it to see what stuff it could come up with. A few basic descriptions and getting it to base things off of a theme I made, it came up with some very nice styles for cards.

Before I show you guys screenshots, keep the following in mind.

I purchased a solar system two years ago. Basically, the company I purchased it off will pay my supply and electricity bill as long as I stay under my monthly quota for kWh used on my house. In theory, if I don’t ever go over my monthly quota, I don’t get any bill for electricity. So, after spending the afternoon with Claude, and me not being a programmer, here is the HA setup thus far…

These are basically all made for mobile viewing as we usually use HA on our phones -

First Row: Front Door and Garage Door locks. Red when unlocked.
Second Row: Yellow for recycling bin pickup, Green for greens bin pickup. Tells you when you need the rubbish out by
Third Row: Person cards change colour depending on where the individuals are. Home, Zone or Away.
Fourth Row: Map of where everyone is.


First row controls which buttons show. As you can see, the “Office” has a little green indicator on it. That indicates movement in the room. All rooms have the little indicator on their button. The yellow glow is when the lights are on.

There is this cool project called TOMMY where the developer is a champion. He has created a great product that lets you get presence detection in a room for like $5.

I purchased like $30 of hardware from AliExpress and managed to get presence detection in every room of my house pretty much. The light button cards reflect that now.


Another shot of the light category. All lights turned off in this screenshot.


This is where it gets crazy. As I said above, each month I have an allocated amount of power I can use. I got Claude to build a card where I can input my allocation for each month. It then gives feedback regarding my usage. From top to bottom -

First progress bar is Current usage of allocation
Second progress bar is Current time of month
kWh Used | kWh Allocation | kWh Left | Projected Usage

I do love how it gave an estimate on what we will end up using by the end of the month. I am going to give it more information to look into, such as past historical electricity usage based on the weather. It can then look at the forecast and account for it.

This card alone lets me take a quick look and I can see what is happening. It then went off and created automations so we can be notified if we are using too much electricity in the day, or if it thinks we are going to go over our allocation.


After it created the little calendar, it suggested it make a nice card for me which, in its words, “would be genuinely interesting”. This is what it came up with.


So yeah, this thing is one of the coolest toys I have ever played with, but I am genuinely kind of scared for what the hell is going to happen to most jobs. I don’t even think it’s going to take that long for this thing to go super saiyan. A few years?

Anyway, I love it and am scared for the future! Great addon you made!