mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
fa1adfd934
* Add QMC5883L and Updated HMC5883L * add tests * changed to oversampling * fix pylint * fix private method * typo fix * fix protected method * Clean up code and PR recomendations * fix tests * remote file * fix qmc oversampling unit * Remove hmc5883l config logging Either the units are converted to the user values like 1x, 8x oversampling or not printed at all. Printing the machine-value of these is only confusing users. * Changes for validate_enum Move stuff that can be done beforehand out of the bound function, use text_type for py2/3 compatability. * Remove unused constant * Remove duplicate tests * Repeat remove config print * remove changes to test2 since bin is to large * Add comment to HMC5583L Co-authored-by: Timothy Purchas <timothy@TPF.local> Co-authored-by: Otto Winter <otto@otto-winter.com> |
||
---|---|---|
.. | ||
.gitignore | ||
custom.h | ||
livingroom32.cpp | ||
livingroom8266.cpp | ||
README.md | ||
test1.yaml | ||
test2.yaml | ||
test3.yaml |
Tests for ESPHome
This directory contains some tests for ESPHome.
At the moment, all the tests only work by simply executing
esphome
over some YAML files that are made to test
whether the yaml gets converted to the proper C++ code.
Of course this is all just very high-level and things like unit tests would be much better. So if you have time and know how to set up a unit testing framework for python, please do give it a try.