From 8ce176aaba5858d04aab9e4778815f48ce0b6f7e Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sun, 10 Feb 2019 16:32:02 +0100 Subject: [PATCH] Allow pins 9&10 for PWM (#410) Ref https://github.com/esp8266/Arduino/pull/5055 --- esphomeyaml/components/output/esp8266_pwm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphomeyaml/components/output/esp8266_pwm.py b/esphomeyaml/components/output/esp8266_pwm.py index a42ff604be..3f8539e6d2 100644 --- a/esphomeyaml/components/output/esp8266_pwm.py +++ b/esphomeyaml/components/output/esp8266_pwm.py @@ -13,7 +13,7 @@ ESP_PLATFORMS = [ESP_PLATFORM_ESP8266] def valid_pwm_pin(value): num = value[CONF_NUMBER] - cv.one_of(0, 1, 2, 3, 4, 5, 12, 13, 14, 15, 16)(num) + cv.one_of(0, 1, 2, 3, 4, 5, 9, 10, 12, 13, 14, 15, 16)(num) return value