mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-11 00:52:43 +01:00
Update custom.rst (#2699)
Adding ID reference cos I spent 3 hours trying to find why I got this error Couldn't find ID 'my_custom_switch'. Please check you have defined an ID with that name in your configuration.
This commit is contained in:
parent
61f79fba3a
commit
9eb91e153e
@ -50,6 +50,7 @@ And in YAML:
|
||||
|
||||
switches:
|
||||
name: "My Custom Switches"
|
||||
id: my_custom_switch
|
||||
|
||||
Configuration variables:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user