Met.no automation & creating sensor template

Please format your code as explained in the sticky post.

That said, did you run a command line config check, as explained here? The UI misses some common problems.

After that passed, did you restart HA?