Starting to use Visual Code now. Was just using nano on my Debian, but that has not reference to the language at all. Also quite sensitive to spaces / tabs which you don’t see…
Ps1: the Sunset and Sunrise rule is working like a charm now with astro binding!
Ps2: Scenes are working now as well with the timer etc. thanks to your explanation and support! I’m adding code to rules now and adjusting the timers to be more comfortable.
Thanks again! @Udo_Hartmann