mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 00:41:44 +01:00
Update __init__.py
This commit is contained in:
parent
e1c117c6a4
commit
2ca1b6aa09
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ LoraSwitch = lora_ns.class_("LoraSwitch", switch.Switch, cg.Component)
|
|||
|
||||
PIN_TO_SEND = "pin_to_send"
|
||||
CONFIG_SCHEMA = (
|
||||
switch.switch_schema(LoraSwitch, block_inverted=True)
|
||||
switch.switch_schema(LoraSwitch)
|
||||
.extend(
|
||||
{
|
||||
cv.Required(CONF_LORA): cv.use_id(LoraComponent),
|
||||
|
|
Loading…
Reference in a new issue