Template error from temperature sensors

I am trying to compare two temperature sensors This did work at one time but I added a second “smart implant”. In the process of adding it, I had to completely remove the original one and then add them both back. It would not “interview” properly unless I did that. I also let the installation do all updates.
Now the template:

will not work. The two sensors are:


and when I test the template I get the error:

I have looked at all the other cases that I could find about this but nothing seems to help.
Note that the template may be working. It is a bit non-trivial to test all conditions but clicking on the “test” button produces the error shown above.
any suggestions would be appreciated.

Known issue with that test function.

Check it in developer tools> template editor if you need to.

Thanks, at least I am not going crazy.