Add I2c BME280 temperature, humidity and pressure sensor for Raspberry Pi (#7989)

* Add new BME280 temperature, humidity and pressure sensor

* Add BME280 sensor to optional requirements and .coveragerc

* move validation to sensor handler, async fix in setup

* fix Invalid attribute name

* review changes: move sensor code to external module

* async fix

* add i2csense to COMMENT_REQUIREMENTS, require i2csense 0.0.3, round prec to 1 dec

* change style for hass

* fix lint

* fix lint part 2
This commit is contained in:
Eugenio Panadero 2017-06-21 17:24:39 +02:00 committed by Pascal Vizeli
parent d3bb6d3988
commit bb05600010
4 changed files with 187 additions and 1 deletions

View file

@ -28,7 +28,8 @@ COMMENT_REQUIREMENTS = (
'face_recognition',
'blinkt',
'smbus-cffi',
'envirophat'
'envirophat',
'i2csense'
)
TEST_REQUIREMENTS = (