Merge branch 'current' into beta

This commit is contained in:
Jesse Hills 2022-09-20 17:14:41 +12:00
commit a1d6fe2d0d
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
4 changed files with 52 additions and 2 deletions

View File

@ -18,6 +18,18 @@ The Bluetooth proxy depends on :doc:`esp32_ble_tracker` so make sure to add that
Bluetooth proxy requires Home Assistant 2022.9 or later.
.. note::
The Bluetooth proxy of ESPHome currently only provides Home Assistant with passive sensor
data that is advertised by certain devices. Not all devices are supported and ESPHome does not decode or keep a list.
To find out if your device is supported, please search for it in the `Home Assistant Integrations <https://www.home-assistant.io/integrations/>`__ list.
The Individual device integrations in Home Assistant (such as BTHome) will receive the data from the Bluetooth Integration in Home Assistant
which automatically aggregates all ESPHome bluetooth proxies with any USB Bluetooth Adapters you might have.
Configuration:
--------------
.. code-block::
bluetooth_proxy:

View File

@ -177,6 +177,9 @@ enum. These values are:
Updating the password:
----------------------
Changing an existing password:
******************************
Since the password is used both for compiling and uploading the regular ``esphome <file> run``
won't work of course. This issue can be worked around by executing the operations separately
through an ``on_boot`` trigger:
@ -191,6 +194,12 @@ through an ``on_boot`` trigger:
password: "Old password"
id: my_ota
Adding a password:
******************
If OTA is already enabled without a password, simply add a ``password:`` line to the existing
``ota:`` config block.
See Also
--------

View File

@ -91,7 +91,7 @@ You have to replace the numbers in the lambdas to determine your weight which is
- platform: template
name: Impedance Aurélien
id: impedance_user1
unit_of_measurement: 'ohm'
unit_of_measurement: 'Ω'
icon: mdi:omega
accuracy_decimals: 0
- platform: template
@ -103,7 +103,7 @@ You have to replace the numbers in the lambdas to determine your weight which is
- platform: template
name: Impedance Siham
id: impedance_user2
unit_of_measurement: 'ohm'
unit_of_measurement: 'Ω'
icon: mdi:omega
accuracy_decimals: 0

View File

@ -730,6 +730,12 @@ script was already running.
then:
- script.execute: my_script
or as lambda
.. code-block:: yaml
lambda: 'id(my_script).execute();
.. _script-stop_action:
``script.stop`` Action
@ -757,6 +763,12 @@ will not be executed.
then:
- script.stop: my_script
or as lambda
.. code-block:: yaml
lambda: 'id(my_script).stop();'
.. _script-wait_action:
``script.wait`` Action
@ -783,6 +795,14 @@ of the script are running in parallel, this will block until all of them have te
- script.execute: my_script
- script.wait: my_script
or as lambda
.. code-block:: yaml
lambda: |-
id(my_script).execute();
id(my_script).wait();
.. _script-is_running_condition:
``script.is_running`` Condition
@ -801,6 +821,15 @@ of the given id is running, not how many.
then:
- logger.log: Script is running!
or as lambda
.. code-block:: yaml
lambda: -|
if(id(my_script).is_running() {
ESP_LOGI("main", "Script is running!");
}
.. _for_condition:
``for`` Condition