Why do I get this error: Expected float or DataCollection?

I’m trying to calculate this Tav or prevailing mean outdoor temperature with LB adaptive comfort component but I encountered this error.


Is there any other way to do this?

You can not mix Legacy with LBT components.
From your image you have all components needed in LBT, so just change them in your file.
-A.