1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 07:03:55 +00:00

Fix my9231 IDs not being resolved

This commit is contained in:
Otto Winter
2018-11-13 19:00:36 +01:00
parent f368255739
commit 9b07bb6608
3 changed files with 11 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ from esphomeyaml.helpers import Pvariable, get_variable, setup_component
DEPENDENCIES = ['my9231']
Channel = MY9231OutputComponent.Channel
Channel = MY9231OutputComponent.class_('Channel', output.FloatOutput)
PLATFORM_SCHEMA = output.FLOAT_OUTPUT_PLATFORM_SCHEMA.extend({
vol.Required(CONF_ID): cv.declare_variable_id(Channel),