mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	midea: New power_toggle action. Auto-use remote transmitter. (#3496)
This commit is contained in:
		| @@ -1901,14 +1901,6 @@ script: | ||||
|           preset: SLEEP | ||||
|  | ||||
| switch: | ||||
|   - platform: template | ||||
|     name: MIDEA_AC_TOGGLE_LIGHT | ||||
|     turn_on_action: | ||||
|       midea_ac.display_toggle: | ||||
|   - platform: template | ||||
|     name: MIDEA_AC_SWING_STEP | ||||
|     turn_on_action: | ||||
|       midea_ac.swing_step: | ||||
|   - platform: template | ||||
|     name: MIDEA_AC_BEEPER_CONTROL | ||||
|     optimistic: true | ||||
| @@ -2834,3 +2826,23 @@ button: | ||||
|           id: scd40 | ||||
|       - scd4x.factory_reset: | ||||
|           id: scd40 | ||||
|   - platform: template | ||||
|     name: Midea Display Toggle | ||||
|     on_press: | ||||
|       midea_ac.display_toggle: | ||||
|   - platform: template | ||||
|     name: Midea Swing Step | ||||
|     on_press: | ||||
|       midea_ac.swing_step: | ||||
|   - platform: template | ||||
|     name: Midea Power On | ||||
|     on_press: | ||||
|       midea_ac.power_on: | ||||
|   - platform: template | ||||
|     name: Midea Power Off | ||||
|     on_press: | ||||
|       midea_ac.power_off: | ||||
|   - platform: template | ||||
|     name: Midea Power Inverse | ||||
|     on_press: | ||||
|       midea_ac.power_toggle: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user