All my Notifications Fail to send as of 2 days ago - works for a second after reboot

Telling people to blindly paste hundreds or thousands of lines of code from potentially dozens of different files into ChatGPT is not a fix. If you truly believe it helped you, then at least post specifics - what configuration section do you believe helped. You can easily redact anything sensitive while still providing help to the community.

Personally I am skeptical that this had any effect at all, since we can easily reproduce this via developer tools using UI configured notifiers - eg, no human written yaml involved.

4 Likes

Thats what i did… blind pasted 138 lines of code in CGPT… and it fixed the problem.

Dont care what you believe, you have not posted in 11 months according to the forum, congrats on adding so much value here in this thread

No need to be a dick about it. All I’m saying is that without specifics, it’s not helpful.

You said 138 lines. Well unless you’ve just started using HA, that’s probably not your whole configuration. Most of us have it split into several files, with different sections in each, and thousands of lines total. Without knowing which sections were in the file you reformatted, we have no way of knowing what you actually did.

I installed and started learning HA only 2 months ago. I have 130 custom Automations (a few hundred more made by Keymaster integration) and 3402 entities. And yes, my configuration.yaml is exactly 138 lines and I’ve only put in 2 trigger/sensor templates.

As I’ve said twice in the thread… CGPT only changed what I posted, I made no changes at that time since I was troubleshooting this problem - I know better than to change other ‘variables’ when trying to fix a serious problem (which this was for me, I rely heavily on mobile notifications)
When there is an issue with formatting I’ve seen HA catch those and not allow reboot so it seem like it was something that HA thought was ‘fine’ until it tried to use it. So HA has a bug that is missing some (prob rare) formatting issue.
Its been 5 days now without any issues. I’ve done serious home automation for 20 years (starting with X10, and used Zwave before most people ever heard of it) and computer systems/software for over 35. I’m not that new.

I think you are misunderstanding the point. If you’ve been in software for 35 years then certainly you know how include files work. You may have things defined directly in your configuration yaml that others have moved to include files, and vice versa. And if you only reformatted the main configuration, you will almost certainly have a different result than somebody else.

The template sensors you mentioned are a good example. It sounds like you have them defined directly in configuration.yaml, which is fine and completely valid, but many others, myself included, don’t. I have them in a separate include file. So if your formatting issue was a template sensor, and everybody else didn’t know that and didn’t include it when reformatting, they wouldn’t have the same results as you.

That is my point. Your configuration yaml will have different sections defined directly in it than other peoples’. Without knowing which sections were reformatted, it’s not helpful to anybody but yourself. Was it templates? Automations? Maybe your logger config? Who knows, because you’re not disclosing that.

Every install instruction and doc I’ve read says to place them in the configuration.yaml. There is even a requirement to exclude the Automations.yaml include for some Integrations.

And yes, if they were separated into Includes it might be easier to troubleshoot, maybe… IF I would have thought of running every one separately through ChatGPT. Ultimately what caused the issue is irrelevant unless it is a bug and were are trying to solve for that… I was just trying to get it working so I have no desire to backtrack to try to figure it out.

the lesson I learned… use AI to review all your YAML if you have a problem :wink: