Help with template sensor please :)

Yeah it gives me that Unexpected error calling config validator: 'NodeListClass' object has no attribute 'items'

I had that to one side to deal with later (doh!), didn’t realise it would affect the rest of the config loading. Do you know how to diagnose that then please?

comment out your scripts and your automations. It seems to be in one of those areas.

OK, thanks, got it. Looks like a script from update_lights add-on from HACS. Thanks folks, the sensor is working now and I need to work out why that script is chucking an error