esphome/esphome/components/fs3000
kahrendt 6ecf4ecac6
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>
2023-03-07 04:25:14 +00:00
..
__init__.py FS3000 sensor (#4502) 2023-03-07 04:25:14 +00:00
fs3000.cpp FS3000 sensor (#4502) 2023-03-07 04:25:14 +00:00
fs3000.h FS3000 sensor (#4502) 2023-03-07 04:25:14 +00:00
sensor.py FS3000 sensor (#4502) 2023-03-07 04:25:14 +00:00