|
发表于 2022-9-19 23:54:11
|
显示全部楼层
编译时又报以下错误,是2410的固件太旧吗?
/config/esphome/presence24.yaml: In lambda function:
/config/esphome/presence24.yaml:69:93: error: 'class ld2410' has no member named 'en_mov_0'
69 | return {s->mov_distance_sensor, s->occ_distance_sensor, s->detect_distance_sensor, s->en_mov_0, s->en_mov_1, s->en_mov_3, s->en_mov_3, s->en_mov_4, s->en_mov_5, s->en_mov_6, s->en_mov_7, s->en_mov_8, s->en_occ_0, s->en_occ_1, s->en_occ_2, s->en_occ_3, s->en_occ_4, s->en_occ_5, s->en_occ_6, s->en_occ_7, s->en_occ_8};
| ^~~~~~~~
/config/esphome/presence24.yaml:69:106: error: 'class ld2410' has no member named 'en_mov_1'
69 | return {s->mov_distance_sensor, s->occ_distance_sensor, s->detect_distance_sensor, s->en_mov_0, s->en_mov_1, s->en_mov_3, s->en_mov_3, s->en_mov_4, s->en_mov_5, s->en_mov_6, s->en_mov_7, s->en_mov_8, s->en_occ_0, s->en_occ_1, s->en_occ_2, s->en_occ_3, s->en_occ_4, s->en_occ_5, s->en_occ_6, s->en_occ_7, s->en_occ_8};
| ^~~~~~~~
/config/esphome/presence24.yaml:69:119: error: 'class ld2410' has no member named 'en_mov_3' |
|