Black
This commit is contained in:
parent
da05dfe708
commit
4de97abc3a
2676 changed files with 163166 additions and 140084 deletions
|
@ -5,14 +5,12 @@ from homeassistant.helpers import config_validation as cv
|
|||
|
||||
from . import CONF_PIN_MODE, PIN_MODES
|
||||
|
||||
CONF_INVERT_LOGIC = 'invert_logic'
|
||||
CONF_PORTS = 'ports'
|
||||
CONF_INVERT_LOGIC = "invert_logic"
|
||||
CONF_PORTS = "ports"
|
||||
|
||||
DEFAULT_INVERT_LOGIC = False
|
||||
|
||||
_SENSORS_SCHEMA = vol.Schema({
|
||||
cv.positive_int: cv.string,
|
||||
})
|
||||
_SENSORS_SCHEMA = vol.Schema({cv.positive_int: cv.string})
|
||||
|
||||
PORT_SCHEMA = {
|
||||
vol.Required(CONF_PORTS): _SENSORS_SCHEMA,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue