mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Consolidate test files where all tests are identical (#6690)
This commit is contained in:
		
							
								
								
									
										93
									
								
								tests/components/thermostat/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								tests/components/thermostat/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,93 @@ | ||||
| sensor: | ||||
|   - platform: template | ||||
|     id: thermostat_sensor | ||||
|     lambda: "return 21;" | ||||
|  | ||||
| climate: | ||||
|   - platform: thermostat | ||||
|     name: Test Thermostat | ||||
|     sensor: thermostat_sensor | ||||
|     humidity_sensor: thermostat_sensor | ||||
|     preset: | ||||
|       - name: Default Preset | ||||
|         default_target_temperature_low: 18°C | ||||
|         default_target_temperature_high: 24°C | ||||
|       - name: Away | ||||
|         default_target_temperature_low: 16°C | ||||
|         default_target_temperature_high: 20°C | ||||
|     idle_action: | ||||
|       - logger.log: idle_action | ||||
|     cool_action: | ||||
|       - logger.log: cool_action | ||||
|     supplemental_cooling_action: | ||||
|       - logger.log: supplemental_cooling_action | ||||
|     heat_action: | ||||
|       - logger.log: heat_action | ||||
|     supplemental_heating_action: | ||||
|       - logger.log: supplemental_heating_action | ||||
|     dry_action: | ||||
|       - logger.log: dry_action | ||||
|     fan_only_action: | ||||
|       - logger.log: fan_only_action | ||||
|     auto_mode: | ||||
|       - logger.log: auto_mode | ||||
|     off_mode: | ||||
|       - logger.log: off_mode | ||||
|     heat_mode: | ||||
|       - logger.log: heat_mode | ||||
|     cool_mode: | ||||
|       - logger.log: cool_mode | ||||
|     dry_mode: | ||||
|       - logger.log: dry_mode | ||||
|     fan_only_mode: | ||||
|       - logger.log: fan_only_mode | ||||
|     fan_mode_auto_action: | ||||
|       - logger.log: fan_mode_auto_action | ||||
|     fan_mode_on_action: | ||||
|       - logger.log: fan_mode_on_action | ||||
|     fan_mode_off_action: | ||||
|       - logger.log: fan_mode_off_action | ||||
|     fan_mode_low_action: | ||||
|       - logger.log: fan_mode_low_action | ||||
|     fan_mode_medium_action: | ||||
|       - logger.log: fan_mode_medium_action | ||||
|     fan_mode_high_action: | ||||
|       - logger.log: fan_mode_high_action | ||||
|     fan_mode_middle_action: | ||||
|       - logger.log: fan_mode_middle_action | ||||
|     fan_mode_focus_action: | ||||
|       - logger.log: fan_mode_focus_action | ||||
|     fan_mode_diffuse_action: | ||||
|       - logger.log: fan_mode_diffuse_action | ||||
|     fan_mode_quiet_action: | ||||
|       - logger.log: fan_mode_quiet_action | ||||
|     swing_off_action: | ||||
|       - logger.log: swing_off_action | ||||
|     swing_horizontal_action: | ||||
|       - logger.log: swing_horizontal_action | ||||
|     swing_vertical_action: | ||||
|       - logger.log: swing_vertical_action | ||||
|     swing_both_action: | ||||
|       - logger.log: swing_both_action | ||||
|     startup_delay: true | ||||
|     supplemental_cooling_delta: 2.0 | ||||
|     cool_deadband: 0.5 | ||||
|     cool_overrun: 0.5 | ||||
|     min_cooling_off_time: 300s | ||||
|     min_cooling_run_time: 300s | ||||
|     max_cooling_run_time: 600s | ||||
|     supplemental_heating_delta: 2.0 | ||||
|     heat_deadband: 0.5 | ||||
|     heat_overrun: 0.5 | ||||
|     min_heating_off_time: 300s | ||||
|     min_heating_run_time: 300s | ||||
|     max_heating_run_time: 600s | ||||
|     min_fanning_off_time: 30s | ||||
|     min_fanning_run_time: 30s | ||||
|     min_fan_mode_switching_time: 15s | ||||
|     min_idle_time: 30s | ||||
|     set_point_minimum_differential: 0.5 | ||||
|     fan_only_action_uses_fan_mode_timer: true | ||||
|     fan_only_cooling: true | ||||
|     fan_with_cooling: true | ||||
|     fan_with_heating: true | ||||
		Reference in New Issue
	
	Block a user