Scenes not working after upgrading HA

Jeez, what a wall of text…

Please, make it more readable and if you really want help: format your code properly How to help us help you - or How to ask a good question → 11: Format it properly