mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[bme680_bsec] Add suggested alternate when using IDF (#9785)
This commit is contained in:
		
				
					committed by
					
						 Jesse Hills
						Jesse Hills
					
				
			
			
				
	
			
			
			
						parent
						
							ae12deff87
						
					
				
				
					commit
					8674012406
				
			| @@ -1,7 +1,7 @@ | ||||
| import esphome.codegen as cg | ||||
| from esphome.components import esp32, i2c | ||||
| import esphome.config_validation as cv | ||||
| from esphome.const import CONF_ID, CONF_SAMPLE_RATE, CONF_TEMPERATURE_OFFSET | ||||
| from esphome.const import CONF_ID, CONF_SAMPLE_RATE, CONF_TEMPERATURE_OFFSET, Framework | ||||
|  | ||||
| CODEOWNERS = ["@trvrnrth"] | ||||
| DEPENDENCIES = ["i2c"] | ||||
| @@ -56,7 +56,15 @@ CONFIG_SCHEMA = cv.All( | ||||
|             ): cv.positive_time_period_minutes, | ||||
|         } | ||||
|     ).extend(i2c.i2c_device_schema(0x76)), | ||||
|     cv.only_with_arduino, | ||||
|     cv.only_with_framework( | ||||
|         frameworks=Framework.ARDUINO, | ||||
|         suggestions={ | ||||
|             Framework.ESP_IDF: ( | ||||
|                 "bme68x_bsec2_i2c", | ||||
|                 "sensor/bme68x_bsec2", | ||||
|             ) | ||||
|         }, | ||||
|     ), | ||||
|     cv.Any( | ||||
|         cv.only_on_esp8266, | ||||
|         cv.All( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user