1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-31 10:10:56 +00:00
Brandon Davidson 88ccd60a08 Allow setting the initial mode of HLW8012 sensors (#611)
* Allow setting the initial mode of hlw8012 sensors

* Changes as per code review
2019-06-06 22:44:52 +02:00
..
2019-05-27 09:58:55 +02:00
2019-05-24 23:08:04 +02:00
2019-05-24 23:08:04 +02:00
2019-02-13 16:54:02 +01:00
2019-05-29 11:15:08 +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.