.. seo:: :description: Instructions for setting up BH1750 ambient light sensors in ESPHome. :image: bh1750.jpg :keywords: BH1750
The bh1750
sensor platform allows you to use your BH1750
(datasheet)
ambient light sensor with ESPHome. The :ref:`I²C bus <i2c>` is required to be set up in
your configuration for this sensor to work.
# Example configuration entry
sensor:
- platform: bh1750
name: "BH1750 Illuminance"
address: 0x23
update_interval: 60s
- address (Optional, int): Manually specify the I²C address of the sensor.
Defaults to
0x23
(address if address pin is pulled low). If the address pin is pulled high, the address is0x5C
. - update_interval (Optional, :ref:`config-time`): The interval to check the
sensor. Defaults to
60s
. - All other options from :ref:`Sensor <config-sensor>`.