mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add support for controlling fan direction (#1051)
* Fix fan oscillation trait not being used * Add fan direction support to SpeedFan * Add fan direction to API * Add fan direction support to BinaryFan * Fix CI errors * Fix python format * Change some ordering to trigger CI * Add test for the configuration
This commit is contained in:
		| @@ -1467,9 +1467,13 @@ fan: | ||||
|   - platform: binary | ||||
|     output: gpio_26 | ||||
|     name: "Living Room Fan 1" | ||||
|     oscillation_output: gpio_19 | ||||
|     direction_output: gpio_26 | ||||
|   - platform: speed | ||||
|     output: pca_6 | ||||
|     name: "Living Room Fan 2" | ||||
|     oscillation_output: gpio_19 | ||||
|     direction_output: gpio_26 | ||||
|     speed: | ||||
|       low: 0.45 | ||||
|       medium: 0.75 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user