mirror of
https://github.com/esphome/esphome.git
synced 2025-09-21 12:42:21 +01:00
15
esphomeyaml/components/debug.py
Normal file
15
esphomeyaml/components/debug.py
Normal file
@@ -0,0 +1,15 @@
|
||||
import voluptuous as vol
|
||||
|
||||
from esphomeyaml.helpers import App, add
|
||||
|
||||
DEPENDENCIES = ['logger']
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema({})
|
||||
|
||||
|
||||
def to_code(config):
|
||||
add(App.make_debug_component())
|
||||
|
||||
|
||||
def build_flags(config):
|
||||
return '-DUSE_DEBUG_COMPONENT'
|
Reference in New Issue
Block a user