esphome/esphome/components/hmc5883l
Tim P fa1adfd934 Add QMC5883L Sensor + Improvements to HMC5883L (#671)
* Add QMC5883L and Updated HMC5883L

* add tests

* changed to oversampling

* fix pylint

* fix private method

* typo fix

* fix protected method

* Clean up code and PR recomendations

* fix tests

* remote file

* fix qmc oversampling unit

* Remove hmc5883l config logging

Either the units are converted to the user values like 1x, 8x oversampling or not printed at all. Printing the machine-value of these is only confusing users.

* Changes for validate_enum

Move stuff that can be done beforehand out of the bound function, use text_type for py2/3 compatability.

* Remove unused constant

* Remove duplicate tests

* Repeat remove config print

* remove changes to test2 since bin is to large

* Add comment to HMC5583L


Co-authored-by: Timothy Purchas <timothy@TPF.local>
Co-authored-by: Otto Winter <otto@otto-winter.com>
2019-11-26 18:43:11 +01:00
..
__init__.py 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
hmc5883l.cpp Add QMC5883L Sensor + Improvements to HMC5883L (#671) 2019-11-26 18:43:11 +01:00
hmc5883l.h Add QMC5883L Sensor + Improvements to HMC5883L (#671) 2019-11-26 18:43:11 +01:00
sensor.py Add QMC5883L Sensor + Improvements to HMC5883L (#671) 2019-11-26 18:43:11 +01:00