Use Motion-activated Light blueprint with Switch

Home Assistant comes with a blueprint “Motion-activated Light”, but it seems to only allow “light” entities to be used as light, while all my lights have been discovered as “switch” entities by the Tasmota integration.

How can I use the blueprint with “switch” entities or can I change the “switch” entities into “light” entities?

there is a switch blueprint too: