Binary Sensor Migration Error

How did you set up the include for templates.yaml?

Also, you do realize that those are two different sensors, right?