From d24b5602bf306490ca85c3290d273e66e4913e42 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:48:08 +1200 Subject: [PATCH] [event] Tidy up name/id (#4143) * [event] Tidy up name/id * Fix spelling --------- Co-authored-by: Keith Burzinski --- components/event/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/event/index.rst b/components/event/index.rst index 3d5d222aa..b1cc7e4f2 100644 --- a/components/event/index.rst +++ b/components/event/index.rst @@ -48,8 +48,8 @@ Configuration variables: 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. -- **name** (**Required**, string): The name for the event. +- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. At least one of **id** and **name** must be specified. +- **name** (*Optional*, string): The name for the event. At least one of **id** and **name** must be specified. .. note::