esphome/tests
Jesse Hills 41b73ff892
Add CT Clamp component (#559)
* Add CT Clamp component

* Update lint

* Some more fixes

* Make updates to work as an analog sensor consumer

* Remove unused imports
Update lint suggestions

* Move setup_priority to header

* Remove unused calibration value

* Remove Unique ID

- Will be auto generated

* Update to use loop and not slow down main loop

Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-05-29 11:22:00 +02:00
..
.gitignore Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
custom.h Fix custom output, add test 2019-05-27 09:58:55 +02:00
livingroom32.cpp Lint 2019-05-24 23:08:04 +02:00
livingroom8266.cpp Lint 2019-05-24 23:08:04 +02:00
README.md Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
test1.yaml Add coolix climate ❄ 🔥 (#521) 2019-05-27 21:09:16 +02:00
test2.yaml Suggested fix for empty domain (#555) 2019-05-26 10:28:46 +02:00
test3.yaml Add CT Clamp component (#559) 2019-05-29 11:22:00 +02: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.