1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

BH1750 Measurement time (#997)

* BH1750 Measurement time

Fixes https://github.com/esphome/feature-requests/issues/148

* lint

* add test

Co-authored-by: Otto Winter <otto@otto-winter.com>
Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
rradar
2020-05-29 03:10:34 +01:00
committed by GitHub
parent 7e4d12f880
commit d1f4c2ab57
4 changed files with 17 additions and 1 deletions

View File

@@ -308,6 +308,7 @@ sensor:
retain: False
availability:
state_topic: livingroom/custom_state_topic
measurement_time: 31
- platform: bme280
temperature:
name: "Outside Temperature"
@@ -1169,7 +1170,6 @@ light:
if (initial_run) {
it[0] = current_color;
}
- automation:
name: Custom Effect
sequence: