Update custom_component.rst (#2282)

This commit is contained in:
Jeroen 2022-11-09 19:56:08 +01:00 committed by GitHub
parent 27b4b3138f
commit bf06d6a4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ And in YAML:
- lambda: |-
auto my_custom = new MyCustomComponent();
return {my_custom};
components:
- id: my_custom_id
Configuration variables: