Combination of service_template and data_template fails

I recommend you take a moment to read the forum’s FAQ.

FWIW, it’s not mandatory to use choose but it does make it easier because the template logic you created has loopholes that can cause errors. For example, what happens if count_off is zero or spotify_on is false? The template’s if-elif fails to handle those situations so the template produces nothing … and that’s not a valid service call.