1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

BH1750 dynamically calculate options (#3214)

* BH1750 dynamically calculate options

* Fix tests

* Fix NAN

* Convert setup to new-style

* Add myself as codeowner
This commit is contained in:
Otto Winter
2022-02-19 15:49:20 +01:00
committed by GitHub
parent debcaf6fb7
commit 5811389891
5 changed files with 142 additions and 96 deletions

View File

@@ -456,12 +456,10 @@ sensor:
name: "Living Room Brightness 3"
internal: true
address: 0x23
resolution: 1.0
update_interval: 30s
retain: False
availability:
state_topic: livingroom/custom_state_topic
measurement_duration: 31
i2c_id: i2c_bus
- platform: max44009
name: "Outside Brightness 1"