Update custom_component.rst (#2282)
This commit is contained in:
parent
27b4b3138f
commit
bf06d6a4f2
|
@ -49,6 +49,9 @@ And in YAML:
|
|||
- lambda: |-
|
||||
auto my_custom = new MyCustomComponent();
|
||||
return {my_custom};
|
||||
components:
|
||||
- id: my_custom_id
|
||||
|
||||
|
||||
Configuration variables:
|
||||
|
||||
|
|
Loading…
Reference in New Issue