That and lot’s of reading on the forum along with a second Rpi for testing/playing.
For future reference, restarting OH, cleaning the cache, and touching a file is usually all that is needed to fix most problems. If those don’t do it then chances are the problem was self-inflicted and you need to undo whatever you’ve done.
Please click the square box on the post that provided the solution to mark the topic as solved.
Thanks