From ef7b936d600b7d8d159acd578b85c21c4b79950b Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Fri, 15 Feb 2019 13:22:31 +0100 Subject: [PATCH] Add ADC sensor --- esphome/writer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/writer.py b/esphome/writer.py index cefb8b2a1f..0a1c3971ad 100644 --- a/esphome/writer.py +++ b/esphome/writer.py @@ -324,6 +324,7 @@ def gather_build_flags(): # and only components that are lightweight (e.g. not lights because they # take up memory) build_flags |= { + '-DUSE_ADC_SENSOR', '-DUSE_BINARY_SENSOR', '-DUSE_DALLAS_SENSOR', '-DUSE_DHT_SENSOR',