mirror of
https://github.com/esphome/esphome.git
synced 2025-01-12 07:33:19 +01:00
Update __init__.py
This commit is contained in:
parent
ead0747b7b
commit
7785f0e8d9
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,7 @@ from esphome import pins
|
|||
import esphome.codegen as cg
|
||||
from esphome.components import switch
|
||||
import esphome.config_validation as cv
|
||||
from esphome.const import CONF_WAIT_TIME
|
||||
from esphome.const import CONF_PULSE_LENGTH, CONF_WAIT_TIME
|
||||
|
||||
from .. import hbridge_ns
|
||||
|
||||
|
@ -10,9 +10,8 @@ HBridgeSwitch = hbridge_ns.class_("HBridgeSwitch", switch.Switch, cg.Component)
|
|||
|
||||
CODEOWNERS = ["@dwmw2"]
|
||||
|
||||
CONF_ON_PIN = "on_pin"
|
||||
CONF_OFF_PIN = "off_pin"
|
||||
CONF_PULSE_LENGTH = "pulse_length"
|
||||
CONF_ON_PIN = "on_pin"
|
||||
|
||||
CONFIG_SCHEMA = (
|
||||
switch.switch_schema(HBridgeSwitch)
|
||||
|
|
Loading…
Reference in a new issue