esphome/tests
Keith Burzinski d4e76185bd
Thermostat component ()
* Add thermostat component

* Add hysteresis accessor

* Linted

* Fixed up const.py and test

* Fix test...again...oops
2020-07-01 22:38:51 -03:00
..
unit_tests
.gitignore
custom.h
livingroom32.cpp
livingroom8266.cpp
README.md
test1.yaml
test2.yaml
test3.yaml Thermostat component () 2020-07-01 22:38:51 -03:00
test4.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.