1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00
This commit is contained in:
Otto Winter 2018-11-09 20:00:18 +01:00
parent 73f790f793
commit 357ab2e5f7
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -7,7 +7,7 @@ from esphomeyaml.const import CONF_MAKE_ID, CONF_NAME, CONF_PIN
from esphomeyaml.helpers import App, Application, gpio_output_pin_expression, variable
MakeGPIOSwitch = Application.MakeGPIOSwitch
GPIOSwitch = Application.GPIOSwitch
GPIOSwitch = switch.switch_ns.GPIOSwitch
PLATFORM_SCHEMA = cv.nameable(switch.SWITCH_PLATFORM_SCHEMA.extend({
cv.GenerateID(): cv.declare_variable_id(GPIOSwitch),