Automation Lights error

Please show it as code, not a screenshot (point 11 in this post)