mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	Minor tidy up of BME280 code (#6672)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -1,18 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_bme280 | ||||
|     scl: 5 | ||||
|     sda: 4 | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|  | ||||
| sensor: | ||||
|   - platform: bme280_i2c | ||||
|     address: 0x76 | ||||
|     temperature: | ||||
|       id: bme280_temperature | ||||
|       name: BME280 Temperature | ||||
|     humidity: | ||||
|       id: bme280_humidity | ||||
|       name: BME280 Humidity | ||||
|     pressure: | ||||
|       id: bme280_pressure | ||||
|       name: BME280 Pressure | ||||
|     update_interval: 15s | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user