esphome/tests
Guillermo Ruffino 85513476ce Add coolix climate ❄ 🔥 (#521)
* Lint

* add coolix climate ❄ 🔥

* Fixes

* Reviewed

* Fix for dev

ClimateDevice was renamed to Climate

* Remove stale method

* Lint

* Initialize target temperature, avoid NAN value

* Use clamp and round value

* Set to verbose message

Not really relevant to the user

* Remove constructor

Name is now set in climate.register_climate - saves integrations from having to declare a constructor

* Fix, add test


Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-05-27 21:09:16 +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 Support for AM2320 temperature and humidity sensor (#554) 2019-05-27 20:00:32 +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.