'dict object' has no attribute 'Occupancy' when rendering

You’re welcome! I’m glad to hear it now works properly and without error/warning messages.

Looking back at this journey makes me realize I should have followed through on my suggestion to use a demultiplexer automation from the very start.

It’s based on the same proven technique I had suggested over five years ago for users of the Sonoff RF Bridge (which also uses one topic to publish different JSON payoads). Back then, the solution involved a combination of automation and python_script but nowadays, due to scripting enhancements, it can be done with just an automation.

If you don’t mind, please move the Solution tag to my post containing the demultiplexer automation. Given that this topic contains over 30 posts, it will help other users jump to the correct solution.