Does anyone have any suggestions on how I would use ESPHome to send the time to UART every 60 seconds or so, (Linux epoch, pretended with T) - essentially the following; but replacing the epoch with the current timestamp:
/config/esphome/esp.yaml: In lambda function:
/config/esphome/esp.yaml:57:46: error: could not convert 'time.esphome::time::ESPTime::timestamp' from 'time_t {aka long int}' to 'std::vector<unsigned char>'
- uart.write: !lambda 'auto time = id(hatime).now(); return time.timestamp;'
^
*** [/data/esp/.pioenvs/esp/src/main.cpp.o] Error 1