mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Allow tm1637 to use pins from IO expanders (#1058)
* Allow tm1637 to use pins from IO expanders * Add test for io expander pins
This commit is contained in:
		| @@ -12,8 +12,8 @@ CONFIG_SCHEMA = display.BASIC_DISPLAY_SCHEMA.extend({ | ||||
|     cv.GenerateID(): cv.declare_id(TM1637Display), | ||||
|  | ||||
|     cv.Optional(CONF_INTENSITY, default=7): cv.All(cv.uint8_t, cv.Range(min=0, max=7)), | ||||
|     cv.Required(CONF_CLK_PIN): pins.internal_gpio_output_pin_schema, | ||||
|     cv.Required(CONF_DIO_PIN): pins.internal_gpio_output_pin_schema, | ||||
|     cv.Required(CONF_CLK_PIN): pins.gpio_output_pin_schema, | ||||
|     cv.Required(CONF_DIO_PIN): pins.gpio_output_pin_schema, | ||||
| }).extend(cv.polling_component_schema('1s')) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user