yeah, but that doesnt work
i need a toggle service ONLY if it changes from 01 to 00 OR from 00 to 01
if i do it in your example, if i do a restart of HA for example, the automation will always run, because it will have the true or false state, because it will always have some state like unavaliable / 00 / 01
yes, that would indeed work, but is it not possible without creating an extra template sensor? because i already already have the text there,there must be a way to create an automation without the extra sensor