mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 09:44:12 +01:00
Update __init__.py
This commit is contained in:
parent
7f79351b88
commit
b7d6923767
1 changed files with 0 additions and 2 deletions
|
@ -69,8 +69,6 @@ async def to_code(config):
|
|||
def validate_mode(value):
|
||||
if not (value[CONF_OUTPUT]):
|
||||
raise cv.Invalid("Mode must be output")
|
||||
if value[CONF_INPUT] and value[CONF_OUTPUT]:
|
||||
raise cv.Invalid("Mode must be output")
|
||||
return value
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue