mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 12:05:41 +00:00
Fix PCF8574 inverted KeyError #12
This commit is contained in:
parent
9979ee6ddf
commit
8639eb1b27
@ -180,7 +180,7 @@ def pin_mode(value):
|
||||
PCF8574_OUTPUT_PIN_SCHEMA = vol.Schema({
|
||||
vol.Required(CONF_PCF8574): cv.variable_id,
|
||||
vol.Required(CONF_NUMBER): vol.Coerce(int),
|
||||
vol.Optional(CONF_INVERTED): cv.boolean,
|
||||
vol.Optional(CONF_INVERTED, default=False): cv.boolean,
|
||||
})
|
||||
|
||||
PCF8574_INPUT_PIN_SCHEMA = PCF8574_OUTPUT_PIN_SCHEMA.extend({
|
||||
|
Loading…
x
Reference in New Issue
Block a user