mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	fix test
This commit is contained in:
		| @@ -18,7 +18,7 @@ esphome: | |||||||
|           capture_response: true |           capture_response: true | ||||||
|           on_success: |           on_success: | ||||||
|             - lambda: |- |             - lambda: |- | ||||||
|                 JsonObject next_hour = response["response"]["weather.forecast_home"]["forecast"][0]; |                 JsonObjectConst next_hour = response["response"]["weather.forecast_home"]["forecast"][0]; | ||||||
|                 float next_temperature = next_hour["temperature"].as<float>(); |                 float next_temperature = next_hour["temperature"].as<float>(); | ||||||
|                 ESP_LOGD("main", "Next hour temperature: %f", next_temperature); |                 ESP_LOGD("main", "Next hour temperature: %f", next_temperature); | ||||||
|           on_error: |           on_error: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user