[datetime] Tidy up name/id (#4142)

This commit is contained in:
Jesse Hills 2024-08-14 14:49:43 +12:00 committed by GitHub
parent f01798fede
commit 9cb258b292
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,8 @@ All datetime in ESPHome have a name and an optional icon.
Configuration variables:
- **name** (**Required**, string): The name for the datetime.
- **id** (*Optional*, string): Manually specify the ID for code generation. At least one of **id** and **name** must be specified.
- **name** (*Optional*, string): The name for the datetime. At least one of **id** and **name** must be specified.
.. note::