Danfoss Ally TRV working with remote temp sensor

Hey, could You elaborate on this retry write? What do I need to do to pull it off?

Hi everyone! Do I need to use the Danfoss room temperature sensor ( Danfoss Ally 014G2480) to use this script? Or could I use third party, Zigbee-enabled devices? The price difference is a factor of 2.5. Thanks!