mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	FS3000 sensor (#4502)
* Add support for FS3000 sensor. * add fs3000 to test yaml * Clean up code with clang. * Clean up sensor.py file. * Update CODEOWNERS file. * Apply suggestions from code review regarding sensor.py Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> * Apply suggestions from code review for basic issues regarding C++ code - removed unnecessary default for FS3000Model - use "this->" before any sensor update Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> * Move model setup to overall setup function. * Remove unneeded CONF_ID from sensor.py * Run clang-format * Move set_model code to header file now that it is simplified * Update fs3000.h --------- Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -1224,6 +1224,12 @@ sensor: | ||||
|   - platform: sen21231 | ||||
|     name: "Person Sensor" | ||||
|     i2c_id: i2c_bus | ||||
|   - platform: fs3000 | ||||
|     name: "Air Velocity" | ||||
|     model: 1005 | ||||
|     update_interval: 60s | ||||
|     i2c_id: i2c_bus | ||||
|  | ||||
| esp32_touch: | ||||
|   setup_mode: false | ||||
|   iir_filter: 10ms | ||||
|   | ||||
		Reference in New Issue
	
	Block a user