From 7ad593d674e488e3abbfb3208326e3cbcd404d24 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Wed, 3 Jul 2019 15:25:38 +0200 Subject: [PATCH] Add setup, loop as reserved IDs Fixes https://github.com/esphome/issues/issues/496 --- esphome/config_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/config_validation.py b/esphome/config_validation.py index b98a56c4b9..dfe05a7637 100644 --- a/esphome/config_validation.py +++ b/esphome/config_validation.py @@ -61,7 +61,7 @@ RESERVED_IDS = [ 'App', 'pinMode', 'delay', 'delayMicroseconds', 'digitalRead', 'digitalWrite', 'INPUT', 'OUTPUT', 'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t', 'int8_t', 'int16_t', 'int32_t', 'int64_t', - 'close', 'pause', 'sleep', 'open', + 'close', 'pause', 'sleep', 'open', 'setup', 'loop', ]