mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 16:01:43 +01:00
23df5d8af7
* Support SDS011 component. * improve if condition * Check update interval is multiple of minute * do not allow update intervals longer than 30 min * fix sensor schema name * remove query_mode * Warn if rx_only mode used together with update interval * Allow update intervals below 1min Messed that up before, as the docs say update intervals below 1min are allowed * Use update interval in minutes * use set_update_interval_min() to set update interval |
||
---|---|---|
.. | ||
.gitignore | ||
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.