@ -223,7 +223,7 @@ namespace esphome
void EHMTX::update() // called from polling component
{
if (!this->is_running){
if (this->clock->now().timestamp > 6000) {
if (this->clock->now().timestamp > 15) {
ESP_LOGD(TAG, "time sync => starting");
this->is_running = true;
}
@ -37,7 +37,7 @@ namespace esphome
class EHMTX : public PollingComponent, public api::CustomAPIDevice {
protected:
float get_setup_priority() const override { return esphome::setup_priority::WIFI; }
float get_setup_priority() const override { return esphome::setup_priority::PROCESSOR; }
uint8_t brightness_;
uint32_t boot_anim=0;
uint8_t screen_pointer;