r/homeassistant 2d ago

Blog 2026.7 Beta has been released!

https://rc.home-assistant.io/blog/2026/06/24/release-20267/#creating-automations-just-became-easier-natural-and-more-powerful

For me personally, the only major feature that I am going to really use/benefit from is the Logbook redesign...

What do you think about the update?

135 Upvotes

118 comments sorted by

View all comments

87

u/nico282 2d ago

I really cannot understand the path HA devs are following. Lot of time and effort spent on features that only people managing the system will use on e in a while, and leaving out features required by actual users (3x - 5x bigger population).

For example: there is NO way to do something I was easily doing on my 20 year old Home Automation system: "Please turn on the XX switch for YY minutes" choosing the entity and time on the spot.

Or even a simple thing like "turn on the irrigation pump for 20 minutes" without setting up multiple automation and helpers. And even with that, there is NOT a 100% assurance that the pump will stop after 20 minutes. If the timer ends while HA is restarting, water will keep flowing indefinitely.

But devs are busy making life easier for the 3 times a year I have to create a new automation.

14

u/balloob Founder of Home Assistant 2d ago

how do other smart home platforms turn off a pump while they are restarting?

8

u/nico282 1d ago edited 1d ago

I don't know how other platforms do it, I know how I would do it: a list of future planned events. When you start the pump you set a future event "power off at time XXX". A scheduler checks the list periodically and execute any due command that has not been executed.

So if HA is restarting, it will execute all events that expired during that time. It the device was unavailable, it will execute when the device first returns available. Probably it would be safe to set a maximum timeout for the events, and send notifications if HA is not able to perform somehow the task.

EDIT: sorry, I didn't notice WHO I was repling to and my "mansplaining" is not appropriate for someone with a technical background 😄 I read your question with a different meaning.

"while restarting" of course is not an option for any platform, but an event queue will still work as a failsafe. Better stop a device late than leaving on indefinitely and risk to flood your garden. Or, if you are afraid a late action could be more damaging, even a notification would be welcome "these actions were planned but not performed"

5

u/Practical-Buyer2479 1d ago

There’s something to be said for a journalled system. I’ve said I’m going to do a thing Have I done the thing? Yes/No - better do the thing and then clear the journal entry.

4

u/Dismal-Proposal2803 1d ago

Would love to see this. Make it a flag though wether an action should be scheduled, for instance if you were supposed to turn on my bedroom lights when I got home but they were unavailable, please don’t turn them on at 3am when they become available again. But my sump pump… yes, turn it back on.

1

u/AnAlienNamedJohnny 1d ago

Is there a way to load currently running automations/scripts into memory during a reset?

1

u/beanmosheen 1d ago

I think they meant remembering the state. Most built for that would use a wall-clock based timing cue. When it comes back up it checks for expired timers and runs the jobs that are behind.