mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
Merge branch 'current' into next
This commit is contained in:
commit
3b11aaed9b
@ -7,7 +7,7 @@ BH1750 Ambient Light Sensor
|
||||
:keywords: BH1750
|
||||
|
||||
The ``bh1750`` sensor platform allows you to use your BH1750
|
||||
(`datasheet <http://www.mouser.com/ds/2/348/bh1750fvi-e-186247.pdf>`__, `Aliexpress`_, `mklec`_)
|
||||
(`datasheet <http://www.mouser.com/ds/2/348/bh1750fvi-e-186247.pdf>`__, `Adafruit`_, `mklec`_)
|
||||
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.
|
||||
|
||||
@ -17,7 +17,7 @@ your configuration for this sensor to work.
|
||||
|
||||
BH1750 Ambient Light Sensor.
|
||||
|
||||
.. _Aliexpress: https://www.adafruit.com/product/1603
|
||||
.. _Adafruit: https://www.adafruit.com/product/1603
|
||||
.. _mklec: http://mklec.com/modules/micro-controller-modules/bh1750-bh1750fvi-digital-light-sensor-module
|
||||
|
||||
.. figure:: images/bh1750-ui.png
|
||||
|
@ -355,16 +355,16 @@ Configuration variables:
|
||||
``on_raw_value``
|
||||
****************
|
||||
|
||||
This automation will be triggered when a new value that has passed through all filters
|
||||
is published. In :ref:`Lambdas <config-lambda>` you can get the value from the trigger
|
||||
with ``x``.
|
||||
This automation will be triggered when a new value is received that hasn't passed
|
||||
through any filters. In :ref:`Lambdas <config-lambda>` you can get the value from the
|
||||
trigger with ``x``.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
sensor:
|
||||
- platform: dallas
|
||||
# ...
|
||||
on_value:
|
||||
on_raw_value:
|
||||
then:
|
||||
- light.turn_on:
|
||||
id: light_1
|
||||
|
@ -61,7 +61,7 @@ Configuration variables:
|
||||
|
||||
- **battery_level** (*Optional*): The information for the battery level sensor
|
||||
|
||||
- **name** (**Required**, string): The name for the humidity sensor.
|
||||
- **name** (**Required**, string): The name for the battery sensor.
|
||||
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||
- All other options from :ref:`Sensor <config-sensor>`.
|
||||
|
||||
|
@ -151,7 +151,7 @@ Configuration options:
|
||||
- stepper.report_position:
|
||||
id: my_stepper
|
||||
position: 0
|
||||
- stepper:set_target:
|
||||
- stepper.set_target:
|
||||
id: my_stepper
|
||||
target: 150
|
||||
|
||||
|
@ -90,7 +90,7 @@ That's no good. Here are some steps that resolve some problems:
|
||||
|
||||
- **If you're having WiFi problems**: See :ref:`wifi-problems`.
|
||||
- Enable verbose logs in the logger: section.
|
||||
- **Still an error?** Please file a bug report over in the `ESPHome issue tracker <https://github.com/OttoWinter/ESPHome/issues>`__.
|
||||
- **Still an error?** Please file a bug report over in the `ESPHome issue tracker <https://github.com/esphome/issues>`__.
|
||||
I will take a look at it as soon as I can. Thanks!
|
||||
|
||||
.. _faq-bug_report:
|
||||
@ -190,7 +190,7 @@ I have a question... How can I contact you?
|
||||
Sure! I'd be happy to help :) You can contact me here:
|
||||
|
||||
- `Discord <https://discord.gg/KhAMKrd>`__
|
||||
- `Home Assistant Community Forums <https://community.home-assistant.io/t/ESPHome-library-to-greatly-simplify-home-assistant-integration-with-esp32/402452>`__
|
||||
- `Home Assistant Community Forums <https://community.home-assistant.io/c/third-party/esphome>`__
|
||||
- ESPHome `issue <https://github.com/esphome/issues>`__ and
|
||||
`feature request <https://github.com/esphome/feature-requests>`__ issue trackers. Preferably only for issues and
|
||||
feature requests.
|
||||
|
Loading…
Reference in New Issue
Block a user