1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-20 05:53:10 +01:00

Improve wrong pin error message

This commit is contained in:
Otto Winter
2018-06-06 08:55:53 +02:00
parent 1f5c060c78
commit dc734709a6
15 changed files with 47 additions and 32 deletions

@@ -10,7 +10,7 @@ MakeGPIOBinarySensor = Application.MakeGPIOBinarySensor
PLATFORM_SCHEMA = binary_sensor.PLATFORM_SCHEMA.extend({
cv.GenerateID(CONF_MAKE_ID): cv.declare_variable_id(MakeGPIOBinarySensor),
vol.Required(CONF_PIN): pins.GPIO_INPUT_PIN_SCHEMA
vol.Required(CONF_PIN): pins.gpio_input_pin_schema
}).extend(binary_sensor.BINARY_SENSOR_SCHEMA.schema)