I have fixed this problem. I think it was caused by the lamba and I’m thinking it was the line uint32_t dur = id(${node_name}_uptime_raw).state; which on ESP8266 results in a very large number when the ${node_name}_uptime_raw value is not yet defined. I’m guessing it causes a crash on the ESP32. As seen in this post, there is another example of this human readable uptime clock that does a better job of handling this case and doesn’t cause the problem on ESP32s.