Skip to content

Commit 5f25605

Browse files
committed
Merge branch 'current' into next
2 parents 3941166 + 36f4807 commit 5f25605

File tree

6 files changed

+36
-9
lines changed

6 files changed

+36
-9
lines changed

components/display/ssd1327.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Over I²C
1111
--------
1212

1313
The ``ssd1327_i2c`` display platform allows you to use
14-
SSD1327 (`datasheet <https://www.generationrobots.com/media/Ecran_OLED_0_96/SSD1327_datasheet.pdf>`__,
14+
SSD1327 (`datasheet <https://www.waveshare.com/w/upload/a/ac/SSD1327-datasheet.pdf>`__,
1515
`Waveshare <https://www.waveshare.com/1.5inch-oled-module.htm>`__) displays with ESPHome. Note that this component is for
1616
displays that are connected via the :ref:`I²C Bus <i2c>`. If your SSD1327 is connected via the 4-Wire
1717
:ref:`SPI bus <spi>`, see :ref:`ssd1327-spi`.

components/sensor/ld2450.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,12 @@ Configuration variables:
285285
- **presence_timeout** (**Required**, int): The duration, in seconds, for which the
286286
:ref:`presence states<ld2450-binary-sensors>` will persist even after the detection is cleared. Default is ``5``
287287
seconds. All options from :ref:`Number <config-number>`.
288+
289+
.. note::
290+
291+
The ``presence_timeout`` value applies *only* to the :ref:`presence binary sensor states<ld2450-binary-sensors>`.
292+
It does **not** apply to any other sensor data, such as target count or target details.
293+
288294
- **zone_N** (*Optional*): Configuration for the zone (N = 1 to 3), defined as a rectangular area in front of and
289295
relative to the sensor. A maximum of three zones can be configured: ``zone_1``, ``zone_2``, ``zone_3``. The zone
290296
coordinates consist of ``x1``, ``y1`` (near-left) to ``x2``, ``y2`` (far-right) and are specified in
@@ -475,7 +481,7 @@ Here is the complete example configuration for :doc:`ld2450`.
475481
bluetooth:
476482
name: "Bluetooth"
477483
multi_target:
478-
name: Multi Target Tracking"
484+
name: "Multi Target Tracking"
479485
480486
select:
481487
- platform: ld2450

components/sensor/ms5611.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ MS5611 Atmospheric Pressure Sensor
66
:image: ms5611.jpg
77
:keywords: MS5611
88

9-
The ``ms5611`` sensor platform allows you to use your MS5611 atmospheric pressure sensors
10-
(`hobbytronics`_) temperature and pressure sensors with ESPHome. The :ref:`I²C <i2c>` is
11-
required to be set up in your configuration for this sensor to work.
9+
The ``ms5611`` sensor platform allows you to use the MS5611 atmospheric pressure-and-temperature sensor with
10+
ESPHome (see the `datasheet`_ for technical details). The :ref:`I²C <i2c>` is required to be set up in your
11+
configuration for this sensor to work.
1212

1313
.. figure:: images/ms5611-full.jpg
1414
:align: center
1515
:width: 50.0%
1616

1717
MS5611 Atmospheric Pressure Sensor
1818

19-
.. _hobbytronics: http://www.hobbytronics.co.uk/ms5611-altitude-sensor
19+
.. _datasheet: https://www.te.com/commerce/DocumentDelivery/DDEController?Action=showdoc&DocId=Data+Sheet%7FMS5611-01BA03%7FB3%7Fpdf%7FEnglish%7FENG_DS_MS5611-01BA03_B3.pdf%7FCAT-BLPS0036
2020

2121
.. figure:: images/ms5611-ui.png
2222
:align: center

components/stepper/index.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,20 @@ Configuration variables:
8181
number: GPIOXX
8282
inverted: true
8383
84+
.. note::
85+
86+
TMC drivers are pin-compatible with the A4988, but instead of a ``SLEEP`` pin they expose an ``ENABLE`` pin.
87+
When using a TMC driver with the ``a4988`` platform you therefore need to invert the ``sleep_pin``:
88+
89+
.. code-block:: yaml
90+
91+
stepper:
92+
- platform: a4988
93+
# ...
94+
sleep_pin:
95+
number: GPIOXX
96+
inverted: true
97+
8498
ULN2003 Component
8599
-----------------
86100

components/time/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Configuration variables:
3030
a cron-like syntax. See :ref:`time-on_time`.
3131
- **on_time_sync** (*Optional*, :ref:`Automation <automation>`): Automation to run when the time source
3232
could be (re-)synchronized.. See :ref:`time-on_time_sync`.
33+
- **update_interval** (*Optional*, :ref:`Time <config-time>`): How often to synchronize the device time from the source. Defaults to ``15min``.
3334

3435
.. _time-has_time_condition:
3536

cookbook/lambda_magic.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,19 @@ In this example a :doc:`/components/cover/time_based` is used with the GPIO conf
210210
if (id(my_cover).current_operation == COVER_OPERATION_IDLE) {
211211
// Cover is idle, check current state and either open or close cover.
212212
if (id(my_cover).is_fully_closed()) {
213-
id(my_cover).open();
213+
auto call = id(my_cover).make_call();
214+
call.set_command_open();
215+
call.perform();
214216
} else {
215-
id(my_cover).close();
217+
auto call = id(my_cover).make_call();
218+
call.set_command_close();
219+
call.perform();
216220
}
217221
} else {
218222
// Cover is opening/closing. Stop it.
219-
id(my_cover).stop();
223+
auto call = id(my_cover).make_call();
224+
call.set_command_stop();
225+
call.perform();
220226
}
221227
222228
switch:

0 commit comments

Comments
 (0)