将该帖中的代码复制到ESPHOME中报错如下
Couldn't find ID 'ctrl_text'. Please check you have defined an ID with that name in your configuration.
Couldn't find ID 'ctrl_text'. Please check you have defined an ID with that name in your configuration.
Couldn't find ID 'led_switch'. Please check you have defined an ID with that name in your configuration.
Couldn't find ID 'led'. Please check you have defined an ID with that name in your configuration.
请问该如何操作?卡在这好久了