mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
[core] Default PollingComponent() to not run when codegen is bypassed (#15832)
This commit is contained in:
@@ -601,7 +601,7 @@ class Component {
|
||||
*/
|
||||
class PollingComponent : public Component {
|
||||
public:
|
||||
PollingComponent() : PollingComponent(1) {}
|
||||
PollingComponent() : PollingComponent(SCHEDULER_DONT_RUN) {}
|
||||
|
||||
/** Initialize this polling component with the given update interval in ms.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user