mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-03 23:41:36 +01:00
Merge branch 'current' into next
This commit is contained in:
commit
0d6de97db1
components
@ -55,6 +55,7 @@ Configuration variables:
|
||||
- ``KSZ8081`` (RMII)
|
||||
- ``KSZ8081RNA`` (RMII)
|
||||
- ``W5500`` (SPI)
|
||||
- ``OPENETH`` (QEMU, ESP-IDF only)
|
||||
|
||||
RMII configuration variables:
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@ -287,6 +288,14 @@ Configuration examples
|
||||
phy_addr: 0
|
||||
power_pin: GPIO12
|
||||
|
||||
|
||||
**QEMU qemu-system-xtensa**:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
ethernet:
|
||||
type: OPENETH
|
||||
|
||||
See Also
|
||||
--------
|
||||
|
||||
|
@ -209,6 +209,21 @@ This trigger is activated every time the media player finishes playing.
|
||||
on_idle:
|
||||
- logger.log: "Playback finished!"
|
||||
|
||||
.. _media_player-on_announcement_trigger:
|
||||
|
||||
``media_player.on_announcement`` Trigger
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
This trigger is activated every time the media player plays an announcement.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
media_player:
|
||||
- platform: i2s_audio # or any other platform
|
||||
# ...
|
||||
on_announcement:
|
||||
- logger.log: "Announcing!"
|
||||
|
||||
.. _media_player-is_idle_condition:
|
||||
|
||||
``media_player.is_idle`` Condition
|
||||
|
@ -32,7 +32,7 @@ Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **host** (**Required**, ip): The Host IP of your StatsD Server.
|
||||
- **post** (*Optional*, uint16): The Port of your StatsD Server. Defaults to ``8125``.
|
||||
- **port** (*Optional*, uint16): The Port of your StatsD Server. Defaults to ``8125``.
|
||||
- **prefix** (*Optional*, string): The prefix to automatically prepend every metric with. Defaults to ``""``.
|
||||
- **update_interval** (*Optional*, uint16): How often to send the metrics. Defaults to ``10s``.
|
||||
- **sensor** (*Optional*, :ref:`sensors`): A list of sensors to generate metrics for.
|
||||
|
@ -5,7 +5,7 @@ Home Assistant Text Sensor
|
||||
:description: Instructions for setting up Home Assistant text sensors with ESPHome that import states from your Home Assistant instance.
|
||||
:image: home-assistant.svg
|
||||
|
||||
The ``homeassistant`` text sensor platform allows you to create a sensors that import
|
||||
The ``homeassistant`` text sensor platform allows you to create sensors that import
|
||||
states from your Home Assistant instance using the :doc:`native API </components/api>`.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
Loading…
Reference in New Issue
Block a user