mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-27 22:31:37 +01:00
Merge branch 'current' into next
This commit is contained in:
commit
3b11aaed9b
@ -7,7 +7,7 @@ BH1750 Ambient Light Sensor
|
|||||||
:keywords: BH1750
|
:keywords: BH1750
|
||||||
|
|
||||||
The ``bh1750`` sensor platform allows you to use your 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
|
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.
|
your configuration for this sensor to work.
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ your configuration for this sensor to work.
|
|||||||
|
|
||||||
BH1750 Ambient Light Sensor.
|
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
|
.. _mklec: http://mklec.com/modules/micro-controller-modules/bh1750-bh1750fvi-digital-light-sensor-module
|
||||||
|
|
||||||
.. figure:: images/bh1750-ui.png
|
.. figure:: images/bh1750-ui.png
|
||||||
|
@ -355,16 +355,16 @@ Configuration variables:
|
|||||||
``on_raw_value``
|
``on_raw_value``
|
||||||
****************
|
****************
|
||||||
|
|
||||||
This automation will be triggered when a new value that has passed through all filters
|
This automation will be triggered when a new value is received that hasn't passed
|
||||||
is published. In :ref:`Lambdas <config-lambda>` you can get the value from the trigger
|
through any filters. In :ref:`Lambdas <config-lambda>` you can get the value from the
|
||||||
with ``x``.
|
trigger with ``x``.
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: dallas
|
- platform: dallas
|
||||||
# ...
|
# ...
|
||||||
on_value:
|
on_raw_value:
|
||||||
then:
|
then:
|
||||||
- light.turn_on:
|
- light.turn_on:
|
||||||
id: light_1
|
id: light_1
|
||||||
|
@ -61,7 +61,7 @@ Configuration variables:
|
|||||||
|
|
||||||
- **battery_level** (*Optional*): The information for the battery level sensor
|
- **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.
|
- **id** (*Optional*, :ref:`config-id`): Set the ID of this sensor for use in lambdas.
|
||||||
- All other options from :ref:`Sensor <config-sensor>`.
|
- All other options from :ref:`Sensor <config-sensor>`.
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ Configuration options:
|
|||||||
- stepper.report_position:
|
- stepper.report_position:
|
||||||
id: my_stepper
|
id: my_stepper
|
||||||
position: 0
|
position: 0
|
||||||
- stepper:set_target:
|
- stepper.set_target:
|
||||||
id: my_stepper
|
id: my_stepper
|
||||||
target: 150
|
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`.
|
- **If you're having WiFi problems**: See :ref:`wifi-problems`.
|
||||||
- Enable verbose logs in the logger: section.
|
- 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!
|
I will take a look at it as soon as I can. Thanks!
|
||||||
|
|
||||||
.. _faq-bug_report:
|
.. _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:
|
Sure! I'd be happy to help :) You can contact me here:
|
||||||
|
|
||||||
- `Discord <https://discord.gg/KhAMKrd>`__
|
- `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
|
- ESPHome `issue <https://github.com/esphome/issues>`__ and
|
||||||
`feature request <https://github.com/esphome/feature-requests>`__ issue trackers. Preferably only for issues and
|
`feature request <https://github.com/esphome/feature-requests>`__ issue trackers. Preferably only for issues and
|
||||||
feature requests.
|
feature requests.
|
||||||
|
Loading…
Reference in New Issue
Block a user