mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	Fix ESP8266 GPIO0 Pullup Validation (#2572)
This commit is contained in:
		| @@ -107,9 +107,9 @@ def validate_supports(value): | ||||
|         raise cv.Invalid( | ||||
|             "Open-drain only works with output mode", [CONF_MODE, CONF_OPEN_DRAIN] | ||||
|         ) | ||||
|     if is_pullup and num == 0: | ||||
|     if is_pullup and num == 16: | ||||
|         raise cv.Invalid( | ||||
|             "GPIO Pin 0 does not support pullup pin mode. " | ||||
|             "GPIO Pin 16 does not support pullup pin mode. " | ||||
|             "Please choose another pin.", | ||||
|             [CONF_MODE, CONF_PULLUP], | ||||
|         ) | ||||
|   | ||||
| @@ -1150,7 +1150,7 @@ servo: | ||||
| ttp229_lsf: | ||||
|  | ||||
| ttp229_bsf: | ||||
|   sdo_pin: D0 | ||||
|   sdo_pin: D2 | ||||
|   scl_pin: D1 | ||||
|  | ||||
| sim800l: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user