How to track down this repair? Deprecated effect None

Just recently this popped up:

It gives no clue as to which light, automation etc.

I can find effect: None ten times in my scenes.yaml…

Usually repairs are really helpful, but this one is vague. Do I just have to replace all instances of ‘None’ with ‘off’?

Yes, but just use the Find and Replace All option if your YAML editor has that feature.

Unfortunately, Repairs is not going to assume states.

1 Like

Thanks. :+1:

Yes, my editor does, I use the File Editor add-on. I’ll get these edited and see what happens!

A little more info

1 Like

Thanks for the info. Unfortunately I ran into a problem. I changed all instances of effect: None with effect: off but for some reason, the scenes still don’t work, and when editing them I see an error:

However, I have solved the issue by editing each scene, deleting the lights in the scene and adding them again - presumably this corrected whatever YAML had been broken over the many updates since they were created. It took a while as I had to go through and set all color and brightness values again which was a bit of a PITA, but at least I only had 10 offending scenes. It was absolutely necessary to delete each light, as it was un-editable in whatever state the YAML was in.

My mind boggles how this has been allowed to happen to the config over time though? It’s taken me over an hour to manually sort this, and the repair system in HA basically just said “you got until October to sort this” lol :man_facepalming:

Thanks for your help @LiQuid_cOOled, I’m going to mark the git link as the answer because this is certainly half of the solution with the possibility that the other half is recreating/editing some scenes.

2 Likes

Yeah, unfortunately not ideal!! Your post will help others understand more!

1 Like