mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add integration tests for host (#8912)
This commit is contained in:
		
							
								
								
									
										5
									
								
								tests/integration/fixtures/host_mode_basic.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								tests/integration/fixtures/host_mode_basic.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| esphome: | ||||
|   name: host-test | ||||
| host: | ||||
| api: | ||||
| logger: | ||||
| @@ -0,0 +1,7 @@ | ||||
| esphome: | ||||
|   name: host-noise-test | ||||
| host: | ||||
| api: | ||||
|   encryption: | ||||
|     key: N4Yle5YirwZhPiHHsdZLdOA73ndj/84veVaLhTvxCuU= | ||||
| logger: | ||||
| @@ -0,0 +1,7 @@ | ||||
| esphome: | ||||
|   name: host-noise-test | ||||
| host: | ||||
| api: | ||||
|   encryption: | ||||
|     key: N4Yle5YirwZhPiHHsdZLdOA73ndj/84veVaLhTvxCuU= | ||||
| logger: | ||||
							
								
								
									
										5
									
								
								tests/integration/fixtures/host_mode_reconnect.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								tests/integration/fixtures/host_mode_reconnect.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| esphome: | ||||
|   name: host-reconnect-test | ||||
| host: | ||||
| api: | ||||
| logger: | ||||
							
								
								
									
										12
									
								
								tests/integration/fixtures/host_mode_with_sensor.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/integration/fixtures/host_mode_with_sensor.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| esphome: | ||||
|   name: host-sensor-test | ||||
| host: | ||||
| api: | ||||
| logger: | ||||
| sensor: | ||||
|   - platform: template | ||||
|     name: Test Sensor | ||||
|     id: test_sensor | ||||
|     unit_of_measurement: °C | ||||
|     lambda: return 42.0; | ||||
|     update_interval: 0.1s | ||||
		Reference in New Issue
	
	Block a user