Well, I started with the trigger-based template sensor linked by Taras but I got that same error. So I tried modifying it based on the quick blurb in your post to which I replied.
So I thought these were automations that created/updated a sensor but I obviously don’t have the syntax down correctly. Ideally I want the sensor instead of the weather entity but I get the same error in either case. I’m going to keep spending time on it, I usually get these things, but I’m certainly missing something from the examples I’ve seen linked.
From your reply, it appears I don’t want an automation but I create a sensor with the trigger? (I haven’t used one of these as of yet, thus my confusion). That makes sense, I saw the triggers and assumed it was an automation.
And as to Mariusthvdb question, I was (apparently incorrectly) creating an automation and it’s my default to include the initial_state in case I want to disable it by default for some reason. Yes, I know I can flip a switch in the UI, old habits die hard.
Yeah, this stuff goes in the template section of your configuration.yaml. There’s an example in the documentation to make a sensor from a weather get_forecasts call.
Yes, but nothing else is. ie: input_booleans etc. So basically all the other stuff we have in Packages other than Automations are not saved in YAML when done through the UI.
tbh, I was surprised it still is an option but after some serious searching (it isnt written in the docs of the automation integration, or clicking through to go to Basics) I found it here Automation YAML - Home Assistant
disabling an automation ‘should be done’ by toggling a conditional (boolean), so we are told, so that might be an idea to get those old habits out of the way
This release causes me a ton of CPU issues using native automations and integrations.
It locks up after a few hours. Reverting back to 2024.3.3 until this is fixed. They did something to the event bus that broke automations that have worked flawlessly for years here.
This happens to me as well. It’s due, at least on my end, to HA pegging the CPU at 100% and locking up. Reverting back to 2024.3.3 fixes it. Check your CPU usage.
Thanks to all who chimed in on this to help. Taras, you can ignore my problem with your link because I was putting sensors/weather entities in the automation (my misunderstanding based on the presence of triggers and actions).
I did get the new forecast to work and can now proceed to get all my weather-related sensors updated based on this. For the record, I have a package “climate.yaml” included from configuration.yaml, and this is the sensor:
From day one, the logic behind HA configuration is not intuitive for me (not saying it’s wrong, it just doesn’t work the way I think). Pair that with yaml syntax and I loathe making changes. I appreciate the patience with what in hindsight are silly errors.
simply waiting here without reporting in the core repo wont solve anything for you. please check the open issues, and if required, add one with your specifics so the dev team can at least be notified.
It’s great to see the integration startup times, but it’s frustrating to see how slow homekit_controller startup time is. 25 seconds on a Raspi 4, managing 25 devices. Do others experience a similar issue? Is there any way to improve its startup speed?
My 25 homekit devices are mostly from Eve (the TRVs, the wall plugs, the motion sensors), plus a few Nanoleaf lights. I’m not sure if I could/should split these somehow, I just have a single thread network and one homekit_controller instance.