esphome/tests
puuu 23df5d8af7 Support SDS011 component. (#467)
* 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
2019-03-06 12:39:52 +01:00
..
.gitignore Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
README.md Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
test1.yaml Support SDS011 component. (#467) 2019-03-06 12:39:52 +01:00
test2.yaml Add WiFi/MQTT/API connected condition (#465) 2019-03-03 16:45:56 +01:00
test3.yaml Add MPR121 Capacitive Touch Sensor (#449) 2019-02-24 21:48:28 +01:00

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.