mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
[event] Tidy up name/id (#4143)
* [event] Tidy up name/id * Fix spelling --------- Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
parent
5e517bb13f
commit
d24b5602bf
@ -48,8 +48,8 @@ Configuration variables:
|
|||||||
|
|
||||||
One of ``id`` or ``name`` is required.
|
One of ``id`` or ``name`` is required.
|
||||||
|
|
||||||
- **id** (**Required**, :ref:`config-id`): Manually specify the ID used for code generation, allowing for further customization or interaction with this event within ESPHome scripts or lambda functions.
|
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. At least one of **id** and **name** must be specified.
|
||||||
- **name** (**Required**, string): The name for the event.
|
- **name** (*Optional*, string): The name for the event. At least one of **id** and **name** must be specified.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user