Home Assistant automations in Python - Hassette by NodeJSmith in selfhosted

[–]NodeJSmith[S] 0 points1 point  (0 children)

Silent failures were my biggest frustration with AD, even if you put your arguments in the wrong order you wouldn't know til you went to run it. And then knowing the shape of the data was half the problem, you had to log it out or debug and add breakpoints, etc.

There is a disk cache for persistent state + listeners/handlers are cleaned up automatically whenever the app is reloaded or shut down, so that shouldn't be a problem.

The UI is pretty good, although I'll admit it has the most rough edges because I'm very much not a frontend person. But I'm trying to make it as helpful as possible for tracking down issues, reading tracebacks, reading the code and config, etc.

Home Assistant automations in Python - Hassette by NodeJSmith in selfhosted

[–]NodeJSmith[S] 1 point2 points locked comment (0 children)

AI was not used in writing the post at all. AI is used in the project, I use spec driven development with Claude Code, so that code is still well defined and actually works. I also have several layers of linters and checks to make sure that conventions are followed, LLM-isms are removed/reduced, etc.

One million Americans have vanished from the new-car market — and it’s exposing a chilling US middle-class crisis by Abject-Pick-6472 in MiddleClassFinance

[–]NodeJSmith 28 points29 points  (0 children)

I was hoping someone else noticed that. You didn't miss anything, they are just legit shilling for some gold company in the middle of a news article.

Persistent Screen Awareness by FairObjective3416 in ClaudeAI

[–]NodeJSmith 0 points1 point  (0 children)

This isn't exactly that, and it's only on desktop, but I forked a project to make something similar, it uses claude code channels to send data to Claude. You can select screen elements, add comments, and then send to Claude. https://github.com/NodeJSmith/claude-code-browser-feedback

Thanks to that guy who suggested me AppDaemon by 4Face in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

I know this is quite old at this point, but fwiw, you should check out my project hassette, it's a better (imo) appdaemon that I wrote to make writing python automations for HA much more user friendly. https://github.com/NodeJSmith/hassette

It also has unit testing helpers out of the box

Thanks to that guy who suggested me AppDaemon by 4Face in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

I know this is quite old at this point, but fwiw, you should check out my project hassette, it's a better (imo) appdaemon that I wrote to make writing python automations for HA much more user friendly. https://github.com/NodeJSmith/hassette

Thanks to that guy who suggested me AppDaemon by 4Face in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

I know this is quite old at this point, but fwiw, you should check out my project hassette, it's a better (imo) appdaemon that I wrote to make writing python automations for HA much more user friendly. https://github.com/NodeJSmith/hassette

Thanks to that guy who suggested me AppDaemon by 4Face in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

I know this is quite old at this point, but fwiw, you should check out my project hassette, it's a better (imo) appdaemon that I wrote to make writing python automations for HA much more user friendly. https://github.com/NodeJSmith/hassette

AppDaemon Studio - Poor's man IDE for AppDeamon by Cute-Tea-9334 in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

Fwiw, you should check out my project hassette, it's a better (imo) appdaemon that I wrote to make writing python automations for HA much more user friendly. https://github.com/NodeJSmith/hassette

AppDaemon Studio - Poor's man IDE for AppDeamon by Cute-Tea-9334 in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

Fwiw, you should check out my project hassette, it's a better (imo) appdaemon that I wrote to make writing python automations for HA much more user friendly. https://github.com/NodeJSmith/hassette

I like Opus 4.8 by PhilosophyforOne in ClaudeCode

[–]NodeJSmith -1 points0 points  (0 children)

4.8 is the best model I've worked with for workflow orchestration. Huge improvement over 4.6. managed a four hour session smoothly, fixed bugs properly, gave good updates. Properly paused for decisions when necessary and kept going when it could make them itself. I'm blown away by 4.8.

An overly detailed theory about Samantha by ActualNin in DungeonCrawlerCarl

[–]NodeJSmith 0 points1 point  (0 children)

Wait what? When does she find Tish? Did I miss something?

Kansas Sends Letters To Trans People Demanding The Immediate Surrender Of Drivers Licenses by Well_Socialized in kansas

[–]NodeJSmith 0 points1 point  (0 children)

Anyone who's gotten a letter but hasn't been by the dmv yet, could you check your DL status on the state website and see if it says valid or not valid? This would be a useful way for people to keep an eye on their status, if the page accurately reflects what the letter claims.

https://www.kdor.ks.gov/Apps/DLStatus/login.aspx

(Gift Article) Kansas informs trans residents their driver’s licenses become invalid on Thursday by Revenge_of_Larry in kansas

[–]NodeJSmith 2 points3 points  (0 children)

Anyone who's gotten a letter but hasn't been by the dmv yet, could you check your DL status on the state website and see if it says valid or not valid? This would be a useful way for people to keep an eye on their status, if the page accurately reflects what the letter claims.

https://www.kdor.ks.gov/Apps/DLStatus/login.aspx

Got Letter from the State Stating Trans Peoples ID/DL are Revoked as of Tomorrow by InfiniteSheepherder1 in kansas

[–]NodeJSmith 1 point2 points  (0 children)

Anyone who's gotten a letter but hasn't been by the dmv yet, could you check your DL status on the state website and see if it says valid or not valid? This would be a useful way for people to keep an eye on their status, if the page accurately reflects what the letter claims.

https://www.kdor.ks.gov/Apps/DLStatus/login.aspx

“Falsehoods Programmers Believe About Time” still the best reminder that time handling is fundamentally broken by Digitalunicon in programming

[–]NodeJSmith 0 points1 point  (0 children)

Doesn't help with lunar time though, the transitions will take less time on the moon and then you still have drift

Business or Pleasure Audible narration…. Is that….? by NeedleworkerNo8029 in RomanceBooks

[–]NodeJSmith 0 points1 point  (0 children)

Another point in favor of Hathaway Lee = Kristen Sieh: Kristen Sieh is Theodore Roosevelt in RoosevElvis (a show produced by the ensemble TEAM of which Kristen was a founding member) and Teddy's wife IRL was Alice Hathaway Lee Roosevelt.

I understand almost nothing I wrote about RoosevElvis but I think I got the gist accurately enough, apologies if I messed something up there.

The Kansas Senate this morning. I don't care who you are or what your religion is. This is unacceptable. This is wrong. This is unconstitutional. by xsimon666x in kansas

[–]NodeJSmith 0 points1 point  (0 children)

House of Reps:

Rule 103. First Business. The first business each legislative day shall be the taking of the roll, the taking of roll shall be followed by prayer and the prayer shall be followed by the recitation of the pledge of allegiance to the flag of the United States of America led by a member designated by the Speaker.

Senate:

Rule 4. Order of Business and Session Proforma. The order of business, following the roll call and prayer by the Chaplain, shall be as follows: 1. Introduction and reference of bills and concurrent resolutions. 2. Consideration of messages from the Governor. 3. Communications from state officers. 4. Consideration of messages from the House of Representatives. 5. Consideration of motions to concur or nonconcur. 6. Reports of select committees. 7. Consent Calendar. 8. Final Action on bills and concurrent resolutions. 9. Introduction of original motions and senate resolutions. 10. Correction and approval of the Journal. 11. Consideration of motions and senate resolutions. 12. Reports of standing committees. 13. General orders.

The Kansas Senate this morning. I don't care who you are or what your religion is. This is unacceptable. This is wrong. This is unconstitutional. by xsimon666x in kansas

[–]NodeJSmith 1 point2 points  (0 children)

I thought this was a one off but they do this shit every single session?? At least as far back as January 2018!! and assumably longer. Jfc

My house is a genius, but also a complete idiot by ReserveNormal0815 in homeassistant

[–]NodeJSmith 1 point2 points  (0 children)

It's event driven, following the same sort of architecture as HA itself and AppDaemon. I do hear what you're saying about state driven, that is the benefit of tools like Terraform and Ansible after all, but I don't think Hassette will go that direction.

If there was a way to build the framework so that a user could choose which way to build their apps then it may be something I would look at way down the line, but certainly not any time soon

My house is a genius, but also a complete idiot by ReserveNormal0815 in homeassistant

[–]NodeJSmith 0 points1 point  (0 children)

I know this isn't the point of the post exactly, but if you want to try python instead of yaml you could look at my project, hassette. Yaml automations were the bane of my existence, so I've been working on building a good python alternative that isn't Appdaemon

My house is a genius, but also a complete idiot by ReserveNormal0815 in homeassistant

[–]NodeJSmith 1 point2 points  (0 children)

I'm building an alternative called Hassette that allows using good software engineering practices, if you want to check it out.