Actually I am scre… I am a noob at programming and I used a scripped from a member to automate my lighting, and now I can dump hassio cause I can’t put it right, too complicated.
Thanks a lot for changing the sliders. It killed my HASS!
example how do I recode this?
alias: ‘auto_light_on enabled’
trigger:
platform: state
entity_id: input_slider.auto_light_minutes, input_slider.auto_light_duration
Take a read through the breaking changes for every release you update to. Under recorder is what you need to do:
Personally, I would keep upgrading every 2 weeks, just read the release notes first. This will help you to learn as you go and it’s easier to manage the breaking changes for 1 release at a time than for 10.
I agree with your logic for updating, however, I always stay behind a week or so to let any bugs get worked out and any .1 .2 releases to come. After a week it generally seems like things get worked out.
Well to answer your remark Jer, it is a hurdle to update, why fix it when it is working, everytime I do an update something turns out broken and it always takes a lot of effort to replace rcode refix things, and many SD card died, because off the rewriting and rewriting!
So I don’t like updating and I guess a lot of noobs don’t like it either.
If you understand what it is doing where things are done, and how to alter it and you can dream these things you laugh and start the update, but I and many others just like continuety and stability.
Same with the fixes you have to find the topic in the forum where the errors are fixed by wonderfull people like you and the others that help noobs, but that can be quite a challenge.
@jayjay I get it! I was a noob about a year ago too and understand the pain. What I do is make a copy of my entire config directory every 2 weeks at least and file it in a folder named the current version. Then I upgrade to the latest and work on fixing all the breaking changes in my YAML. Sometimes, it does require a bit of work for sure. If I find there’s too much “broken”, I revert to the previous version and reload the old config.
Not to discourage you, but HA is definitely a bit of a beast right now and probably will be that way for the foreseeable future. The updates come every 2 weeks or more often for emergency fixes and it’s basically all coding you have to do. There is efforts on the front end for editing scripts and automations but it’s going to be a long way off before all the kinks are worked out and you don’t have to edit YAML files. If you wait for several versions, you’ll find yourself quickly behind and it’s even more of a barrier to get over to upgrade. So you kinda have 2 choices, build the functionality you want all in a short time frame then stay at that version for a long time, or resolve to build every 2 weeks to a month and learn along the way. Trust me, it gets easier as you go.
Wish you all the best…and yeah, the community here is pretty awesome and will help along the way. The one thing that people will probably scold you for is not reading the breaking changes of that release and then asking the question why it’s broken. lol
Well manythings solved thanks, but one error remains my automated lights are dead too, no triggering from my pir sensors, so use the toilet in the dark… lol
Now I have to find if there is another update in sensor name or state trigger which makes this happen.