Add light partition platform (#434)

This commit is contained in:
Otto Winter
2019-02-16 16:47:23 +01:00
committed by GitHub
parent 4da0e0c223
commit 944f0169cb
7 changed files with 75 additions and 0 deletions
@@ -57,6 +57,7 @@ def validate(value):
MakeFastLEDLight = Application.struct('MakeFastLEDLight')
PLATFORM_SCHEMA = cv.nameable(light.LIGHT_PLATFORM_SCHEMA.extend({
cv.GenerateID(): cv.declare_variable_id(light.AddressableLightState),
cv.GenerateID(CONF_MAKE_ID): cv.declare_variable_id(MakeFastLEDLight),
vol.Required(CONF_CHIPSET): cv.one_of(*TYPES, upper=True),