diff --git a/src/esphomelib/automation.cpp b/src/esphomelib/automation.cpp index 5606e040..04cb1a12 100644 --- a/src/esphomelib/automation.cpp +++ b/src/esphomelib/automation.cpp @@ -41,7 +41,7 @@ float LoopTrigger::get_setup_priority() const { return setup_priority::HARDWARE_LATE; } -void IntervalTrigger::loop() { +void IntervalTrigger::update() { this->trigger(); } float IntervalTrigger::get_setup_priority() const { diff --git a/src/esphomelib/automation.h b/src/esphomelib/automation.h index 75fa2daa..68fb95ea 100644 --- a/src/esphomelib/automation.h +++ b/src/esphomelib/automation.h @@ -108,7 +108,7 @@ class LoopTrigger : public Trigger, public Component { class IntervalTrigger : public Trigger, public PollingComponent { public: IntervalTrigger(uint32_t update_interval); - void loop() override; + void update() override; float get_setup_priority() const override; }; diff --git a/src/esphomelib/ota_component.h b/src/esphomelib/ota_component.h index 3d31da98..168b7b00 100644 --- a/src/esphomelib/ota_component.h +++ b/src/esphomelib/ota_component.h @@ -56,9 +56,7 @@ class OTAComponent : public Component { /** Set a plaintext password that OTA will use for authentication. * * Warning: This password will be stored in plaintext in the ROM and can be read - * by intruders. It is however secured somewhat secure again MITM attacks (attackers - * could still modify the binary while you're sending it, but they can't start OTA processes - * themselves.) + * by intruders. * * @param password The plaintext password. */