Tried to do a simple conditional thing in — I have two variants of a service, and I need one to be started if conditions are satisfied (target for a device is started), and the other otherwise.

Nope, doesn't work that way, you need bash scripts for that :/