大佬,这报错是啥意思
INFO Reading configuration /config/1115h.yaml...
Failed config
number: [source /config/1115h.yaml:50]
Component not found: number
- platform: template
id: motion_th1
name: th1 移动灵敏度
mode: box
optimistic: True
min_value: 0
max_value: 500
step: 1
restore_value: True
initial_value: 120
on_value:
then:
- uart.write: !lambda |-
int v = (int)x; std::string cmd = "th1=" + to_string(v); return std::vector<unsigned char>(cmd.begin(), cmd.end());
|