mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 16:27:44 +01:00
Allow pins 9&10 for PWM (#410)
Ref https://github.com/esp8266/Arduino/pull/5055
This commit is contained in:
parent
f185ba7a21
commit
8ce176aaba
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user