mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
Make ForCondition a component (#616)
Fixes https://github.com/esphome/issues/issues/396
This commit is contained in:
parent
76fe2e4871
commit
75326d2271
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ UpdateComponentAction = cg.esphome_ns.class_('UpdateComponentAction', Action)
|
||||||
Automation = cg.esphome_ns.class_('Automation')
|
Automation = cg.esphome_ns.class_('Automation')
|
||||||
|
|
||||||
LambdaCondition = cg.esphome_ns.class_('LambdaCondition', Condition)
|
LambdaCondition = cg.esphome_ns.class_('LambdaCondition', Condition)
|
||||||
ForCondition = cg.esphome_ns.class_('ForCondition', Condition)
|
ForCondition = cg.esphome_ns.class_('ForCondition', Condition, cg.Component)
|
||||||
|
|
||||||
|
|
||||||
def validate_automation(extra_schema=None, extra_validators=None, single=False):
|
def validate_automation(extra_schema=None, extra_validators=None, single=False):
|
||||||
|
|
Loading…
Reference in a new issue