mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix fan oscillating (#818)
Fixes https://github.com/esphome/issues/issues/783
This commit is contained in:
		| @@ -24,4 +24,4 @@ def to_code(config): | |||||||
|  |  | ||||||
|     if CONF_OSCILLATION_OUTPUT in config: |     if CONF_OSCILLATION_OUTPUT in config: | ||||||
|         oscillation_output = yield cg.get_variable(config[CONF_OSCILLATION_OUTPUT]) |         oscillation_output = yield cg.get_variable(config[CONF_OSCILLATION_OUTPUT]) | ||||||
|         cg.add(var.set_oscillation(oscillation_output)) |         cg.add(var.set_oscillating(oscillation_output)) | ||||||
|   | |||||||
| @@ -29,4 +29,4 @@ def to_code(config): | |||||||
|  |  | ||||||
|     if CONF_OSCILLATION_OUTPUT in config: |     if CONF_OSCILLATION_OUTPUT in config: | ||||||
|         oscillation_output = yield cg.get_variable(config[CONF_OSCILLATION_OUTPUT]) |         oscillation_output = yield cg.get_variable(config[CONF_OSCILLATION_OUTPUT]) | ||||||
|         cg.add(var.set_oscillation(oscillation_output)) |         cg.add(var.set_oscillating(oscillation_output)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user