From 387f249363fd13fcb7435f904acbd318b2ce0fc0 Mon Sep 17 00:00:00 2001 From: Guillermo Ruffino Date: Thu, 27 May 2021 22:15:52 -0300 Subject: [PATCH] fix dallas pin validation (#1692) --- esphome/components/dallas/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/dallas/__init__.py b/esphome/components/dallas/__init__.py index e889c41175..762bfdc3c3 100644 --- a/esphome/components/dallas/__init__.py +++ b/esphome/components/dallas/__init__.py @@ -15,7 +15,7 @@ CONFIG_SCHEMA = cv.Schema( { cv.GenerateID(): cv.declare_id(DallasComponent), cv.GenerateID(CONF_ONE_WIRE_ID): cv.declare_id(ESPOneWire), - cv.Required(CONF_PIN): pins.gpio_input_pin_schema, + cv.Required(CONF_PIN): pins.internal_gpio_output_pin_schema, } ).extend(cv.polling_component_schema("60s"))