mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user