Ah I see! This script can’t check if a Wifi signal is actually received by the Heater units.
To check the status of WiFi devices on your network, I recommend the NetScan app.
It is pretty straight forward, enter the IP and check intervals. The device alarms when the IP is unreachable. You can use that in flows etc.