GithubHelp home page GithubHelp logo

esphome-rd01's People

Contributors

tsunglung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

be-engineer

esphome-rd01's Issues

expected type-specifier before 'RD01'

Compiling .pioenvs/9-d1-124/src/main.cpp.o
Compiling .pioenvs/9-d1-124/libfb1/ESP8266WiFi/ESP8266WiFi.cpp.o
Compiling .pioenvs/9-d1-124/libfb1/ESP8266WiFi/ESP8266WiFiAP.cpp.o
Compiling .pioenvs/9-d1-124/libfb1/ESP8266WiFi/ESP8266WiFiGeneric.cpp.o
/config/9-d1-124.yaml: In lambda function:
/config/9-d1-124.yaml:56:19: error: expected type-specifier before 'RD01'
56 | return {new RD01(id(uart_rd01))};
| ^~~~
/config/9-d1-124.yaml:56:19: error: expected '}' before 'RD01'
/config/9-d1-124.yaml:56:19: error: could not convert '{}' from '' to 'std::vectoresphome::Component*'
/config/9-d1-124.yaml:56:18: error: expected ';' before 'RD01'
56 | return {new RD01(id(uart_rd01))};
| ^~~~~
| ;
/config/9-d1-124.yaml:56:19: error: 'RD01' was not declared in this scope
56 | return {new RD01(id(uart_rd01))};
| ^~~~
src/main.cpp: In function 'void setup()':
src/main.cpp:302:138: error: expected primary-expression before '(' token
302 | custom_component::CustomComponentConstructor custom_component_customcomponentconstructor = custom_component::CustomComponentConstructor(= -> std::vector<Component *> {
| ^
src/main.cpp:302:140: error: expected ')' before ';' token
302 | custom_component::CustomComponentConstructor custom_component_customcomponentconstructor = custom_component::CustomComponentConstructor(= -> std::vector<Component *> {
| ~ ^
| )
/config/9-d1-124.yaml: At global scope:
/config/9-d1-124.yaml:57:4: error: expected unqualified-id before ')' token
57 | components:
| ^
/config/9-d1-124.yaml:58:3: error: 'rd01' does not name a type
58 | - id: rd01
| ^
/config/9-d1-124.yaml:59:3: error: 'rd01' does not name a type
59 |
| ^
/config/9-d1-124.yaml:60:3: error: 'App' does not name a type
60 | binary_sensor:
| ^~~
/config/9-d1-124.yaml:80:119: error: non-local lambda expression cannot have a capture-default
80 | - name: "Moving Target Energy"
| ^
/config/9-d1-124.yaml: In lambda function:
/config/9-d1-124.yaml:63:41: error: 'RD01' does not name a type
63 | auto uart_component = static_cast<RD01 >(rd01);
| ^~~~
/config/9-d1-124.yaml:63:46: error: expected '>' before '
' token
63 | auto uart_component = static_cast<RD01 >(rd01);
| ^
/config/9-d1-124.yaml:63:46: error: expected '(' before '
' token
63 | auto uart_component = static_cast<RD01 *>(rd01);
| ^
| (
/config/9-d1-124.yaml:63:47: error: expected primary-expression before '>' token
63 | auto uart_component = static_cast<RD01 *>(rd01);
| ^
/config/9-d1-124.yaml:63:54: error: expected ')' before ';' token
63 | auto uart_component = static_cast<RD01 *>(rd01);
| ^
| )
/config/9-d1-124.yaml:64:138: error: could not convert '{, , , }' from '' to 'std::vectoresphome::binary_sensor::BinarySensor*'
64 | return {uart_component->hasTarget,uart_component->hasMovingTarget,uart_component->hasStillTarget,uart_component->lastCommandSuccess};
| ^
| |
|
/config/9-d1-124.yaml: At global scope:
/config/9-d1-124.yaml:66:3: error: 'binary_sensor_binarysensor' does not name a type
66 | - name: "Has Target"
| ^ ~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:67:3: error: 'App' does not name a type
67 | - name: "Has Moving Target"
| ^
/config/9-d1-124.yaml:68:3: error: 'binary_sensor_binarysensor' does not name a type
68 | - name: "Has Still Target"
| ^ ~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:69:3: error: 'binary_sensor_binarysensor' does not name a type
69 | - name: "Last Command Success"
| ^ ~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:70:3: error: 'binary_sensor_binarysensor' does not name a type
70 |
| ^
/config/9-d1-124.yaml:71:3: error: 'binary_sensor_binarysensor_2' does not name a type
71 | sensor:
| ^~~~~
/config/9-d1-124.yaml:72:3: error: 'App' does not name a type
72 | - platform: custom
| ^~~
/config/9-d1-124.yaml:73:3: error: 'binary_sensor_binarysensor_2' does not name a type
73 | lambda: |-
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:74:3: error: 'binary_sensor_binarysensor_2' does not name a type
74 | auto uart_component = static_cast<RD01 *>(rd01);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:75:3: error: 'binary_sensor_binarysensor_2' does not name a type
75 | return {uart_component->movingTargetDistance,uart_component->movingTargetEnergy,uart_component->stillTargetDistance,uart_component->stillTargetEnergy,uart_component->detectDistance};
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:76:3: error: 'binary_sensor_binarysensor_3' does not name a type
76 | sensors:
| ^ ~~~~~~~~
/config/9-d1-124.yaml:77:3: error: 'App' does not name a type
77 | - name: "Moving Target Distance"
| ^
/config/9-d1-124.yaml:78:3: error: 'binary_sensor_binarysensor_3' does not name a type
78 | unit_of_measurement: "cm"
| ^ ~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:79:3: error: 'binary_sensor_binarysensor_3' does not name a type
79 | accuracy_decimals: 1
| ^ ~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:80:3: error: 'binary_sensor_binarysensor_3' does not name a type
80 | - name: "Moving Target Energy"
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:81:3: error: 'binary_sensor_binarysensor_4' does not name a type
81 | unit_of_measurement: "%"
| ^ ~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:82:3: error: 'App' does not name a type
82 | accuracy_decimals: 0
| ^
/config/9-d1-124.yaml:83:3: error: 'binary_sensor_binarysensor_4' does not name a type
83 | - name: "Still Target Distance"
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:84:3: error: 'binary_sensor_binarysensor_4' does not name a type
84 | unit_of_measurement: "cm"
| ^ ~~~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:85:3: error: 'binary_sensor_binarysensor_4' does not name a type
85 | accuracy_decimals: 1
| ^ ~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:123:101: error: non-local lambda expression cannot have a capture-default
123 | step: 1
| ^
/config/9-d1-124.yaml: In lambda function:
/config/9-d1-124.yaml:74:41: error: 'RD01' does not name a type
74 | auto uart_component = static_cast<RD01 >(rd01);
| ^~~~
/config/9-d1-124.yaml:74:46: error: expected '>' before '
' token
74 | auto uart_component = static_cast<RD01 >(rd01);
| ^
/config/9-d1-124.yaml:74:46: error: expected '(' before '
' token
74 | auto uart_component = static_cast<RD01 *>(rd01);
| ^
| (
/config/9-d1-124.yaml:74:47: error: expected primary-expression before '>' token
74 | auto uart_component = static_cast<RD01 *>(rd01);
| ^
/config/9-d1-124.yaml:74:54: error: expected ')' before ';' token
74 | auto uart_component = static_cast<RD01 *>(rd01);
| ^
| )
/config/9-d1-124.yaml:75:187: error: could not convert '{, , , , }' from '' to 'std::vectoresphome::sensor::Sensor*'
75 | return {uart_component->movingTargetDistance,uart_component->movingTargetEnergy,uart_component->stillTargetDistance,uart_component->stillTargetEnergy,uart_component->detectDistance};
| ^
| |
|
/config/9-d1-124.yaml: At global scope:
/config/9-d1-124.yaml:77:3: error: 'sensor_sensor' does not name a type
77 | - name: "Moving Target Distance"
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:78:3: error: 'App' does not name a type
78 | unit_of_measurement: "cm"
| ^
/config/9-d1-124.yaml:79:3: error: 'sensor_sensor' does not name a type
79 | accuracy_decimals: 1
| ^ ~~~~~~~
/config/9-d1-124.yaml:80:3: error: 'sensor_sensor' does not name a type
80 | - name: "Moving Target Energy"
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:81:3: error: 'sensor_sensor' does not name a type
81 | unit_of_measurement: "%"
| ^ ~~~~~~~
/config/9-d1-124.yaml:82:3: error: 'sensor_sensor' does not name a type
82 | accuracy_decimals: 0
| ^ ~~~~~~~
/config/9-d1-124.yaml:83:3: error: 'sensor_sensor' does not name a type
83 | - name: "Still Target Distance"
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:84:3: error: 'sensor_sensor' does not name a type
84 | unit_of_measurement: "cm"
| ^ ~~~~~~~
/config/9-d1-124.yaml:85:3: error: 'sensor_sensor_2' does not name a type
85 | accuracy_decimals: 1
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:86:3: error: 'App' does not name a type
86 | - name: "Still Target Energy"
| ^
/config/9-d1-124.yaml:87:3: error: 'sensor_sensor_2' does not name a type
87 | unit_of_measurement: "%"
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:88:3: error: 'sensor_sensor_2' does not name a type
88 | accuracy_decimals: 0
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:89:3: error: 'sensor_sensor_2' does not name a type
89 | - name: "Detect Distance"
| ^ ~~~~~~~~~~~
/config/9-d1-124.yaml:90:3: error: 'sensor_sensor_2' does not name a type
90 | unit_of_measurement: "cm"
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:91:3: error: 'sensor_sensor_2' does not name a type
91 | accuracy_decimals: 1
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:92:3: error: 'sensor_sensor_2' does not name a type
92 |
| ^
/config/9-d1-124.yaml:93:3: error: 'sensor_sensor_3' does not name a type
93 | number:
| ^~~~~
/config/9-d1-124.yaml:94:3: error: 'App' does not name a type
94 | - platform: template
| ^~~
/config/9-d1-124.yaml:95:3: error: 'sensor_sensor_3' does not name a type
95 | name: "Max Moving Distance Range"
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:96:3: error: 'sensor_sensor_3' does not name a type
96 | id: maxMovingDistanceRange
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:97:3: error: 'sensor_sensor_3' does not name a type
97 | min_value: 2
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:98:3: error: 'sensor_sensor_3' does not name a type
98 | max_value: 8
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:99:3: error: 'sensor_sensor_3' does not name a type
99 | step: 1
| ^ ~~~~~~~
/config/9-d1-124.yaml:100:3: error: 'sensor_sensor_3' does not name a type
100 | update_interval: never
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:101:3: error: 'sensor_sensor_4' does not name a type
101 | optimistic: true
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:102:3: error: 'App' does not name a type
102 | set_action:
| ^ ~
/config/9-d1-124.yaml:103:3: error: 'sensor_sensor_4' does not name a type
103 | - lambda: |-
| ^ ~~~~~~~~~~~
/config/9-d1-124.yaml:104:3: error: 'sensor_sensor_4' does not name a type
104 | auto uart_component = static_cast<RD01 *>(rd01);
| ^ ~~~~~~~
/config/9-d1-124.yaml:105:3: error: 'sensor_sensor_4' does not name a type
105 | uart_component->setMaxDistancesAndNoneDuration(x,id(maxStillDistanceRange).state,id(noneDuration).state);
| ^ ~~~~~~~
/config/9-d1-124.yaml:106:3: error: 'sensor_sensor_4' does not name a type
106 | - platform: template
| ^~~~~~~~~~~~~~~
/config/9-d1-124.yaml:107:3: error: 'sensor_sensor_4' does not name a type
107 | name: "Max Still Distance Range"
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:108:3: error: 'sensor_sensor_4' does not name a type
108 | id: maxStillDistanceRange
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:109:3: error: 'sensor_sensor_5' does not name a type
109 | min_value: 2
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:110:3: error: 'App' does not name a type
110 | max_value: 8
| ^ ~
/config/9-d1-124.yaml:111:3: error: 'sensor_sensor_5' does not name a type
111 | step: 1
| ^ ~~~~~~~
/config/9-d1-124.yaml:112:3: error: 'sensor_sensor_5' does not name a type
112 | update_interval: never
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:113:3: error: 'sensor_sensor_5' does not name a type
113 | optimistic: true
| ^ ~~~~~~~~~~~~~
/config/9-d1-124.yaml:114:3: error: 'sensor_sensor_5' does not name a type
114 | set_action:
| ^ ~~~~~~~~~~~
/config/9-d1-124.yaml:115:3: error: 'sensor_sensor_5' does not name a type
115 | - lambda: |-
| ^ ~~~~~~~~~~~
/config/9-d1-124.yaml:116:3: error: 'sensor_sensor_5' does not name a type
116 | auto uart_component = static_cast<RD01 *>(rd01);
| ^ ~~~~~~~
/config/9-d1-124.yaml:137:3: error: 'maxMovingDistanceRange' does not name a type
137 | update_interval: never
| ^ ~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:138:3: error: 'maxMovingDistanceRange' does not name a type
138 | optimistic: true
| ^ ~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:139:3: error: 'maxMovingDistanceRange' does not name a type
139 | set_action:
| ^ ~~~~~~~~~~~
/config/9-d1-124.yaml:140:3: error: 'App' does not name a type
140 | - lambda: |-
| ^
/config/9-d1-124.yaml:141:3: error: 'App' does not name a type
141 | auto uart_component = static_cast<RD01 *>(rd01);
| ^
/config/9-d1-124.yaml:142:3: error: 'maxMovingDistanceRange' does not name a type
142 | uart_component->setDistancesAndStillSensitive(x, id(DistanceRange2).state, id(StillSensitive).state);
| ^ ~~~~~~~~~~~~~~
/config/9-d1-124.yaml:143:3: error: 'maxMovingDistanceRange' does not name a type
143 | - platform: template
| ^~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:144:3: error: 'maxMovingDistanceRange' does not name a type
144 | name: "Max Still Distance Range"
| ^ ~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:145:3: error: 'maxMovingDistanceRange' does not name a type
145 | id: DistanceRange2
| ^ ~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:146:3: error: 'maxMovingDistanceRange' does not name a type
146 | min_value: 0
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:147:3: error: 'maxMovingDistanceRange' does not name a type
147 | max_value: 65535
| ^ ~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:148:3: error: 'maxMovingDistanceRange' does not name a type
148 | step: 1
| ^ ~~~~~~~
/config/9-d1-124.yaml:149:3: error: 'maxMovingDistanceRange' does not name a type
149 | update_interval: never
| ^ ~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:150:3: error: 'maxMovingDistanceRange' does not name a type
150 | optimistic: true
| ^ ~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:151:3: error: 'automation' does not name a type
151 | set_action:
| ^ ~~~~~~~~
/config/9-d1-124.yaml:172:3: error: 'maxStillDistanceRange' does not name a type
172 | on_press:
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:173:3: error: 'maxStillDistanceRange' does not name a type
173 | - lambda: 'static_cast<RD01 *>(rd01)->setEngineeringMode(true);'
| ^ ~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:174:3: error: 'maxStillDistanceRange' does not name a type
174 | - platform: template
| ^~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:175:3: error: 'App' does not name a type
175 | name: "Turn off Engineer mode"
| ^ ~
/config/9-d1-124.yaml:176:3: error: 'App' does not name a type
176 | on_press:
| ^ ~
/config/9-d1-124.yaml:177:3: error: 'maxStillDistanceRange' does not name a type
177 | - lambda: 'static_cast<RD01 *>(rd01)->setEngineeringMode(false);'
| ^ ~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:178:3: error: 'maxStillDistanceRange' does not name a type
178 | - platform: template
| ^~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:179:3: error: 'maxStillDistanceRange' does not name a type
179 | name: "Turn on config mode"
| ^ ~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:180:3: error: 'maxStillDistanceRange' does not name a type
180 | on_press:
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:181:3: error: 'maxStillDistanceRange' does not name a type
181 | - lambda: 'static_cast<RD01 *>(rd01)->setConfigMode(true);'
| ^ ~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:182:3: error: 'maxStillDistanceRange' does not name a type
182 | - platform: template
| ^~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:183:3: error: 'maxStillDistanceRange' does not name a type
183 | name: "Turn off config mode"
| ^ ~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:184:3: error: 'maxStillDistanceRange' does not name a type
184 | on_press:
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:185:3: error: 'maxStillDistanceRange' does not name a type
185 | - lambda: 'static_cast<RD01 *>(rd01)->setConfigMode(false);'
| ^ ~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:186:3: error: 'automation_2' does not name a type
186 | - platform: template
| ^~~~~~~~~~~~
/config/9-d1-124.yaml:207:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:208:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:209:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:210:3: error: 'App' does not name a type
/config/9-d1-124.yaml:211:3: error: 'App' does not name a type
/config/9-d1-124.yaml:212:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:213:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:214:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:215:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:216:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:217:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:218:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:219:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:220:3: error: 'noneDuration' does not name a type
/config/9-d1-124.yaml:221:3: error: 'automation_3' does not name a type
/config/9-d1-124.yaml:222:3: error: 'lambdaaction_3' does not name a type
/config/9-d1-124.yaml:131:4: error: expected unqualified-id before ')' token
131 | - platform: template
| ^
/config/9-d1-124.yaml:132:3: error: 'automation_3' does not name a type
132 | name: "Max Moving Distance Range"
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:132:45: error: expected unqualified-id before ')' token
132 | name: "Max Moving Distance Range"
| ^
/config/9-d1-124.yaml:153:3: error: 'DistanceRange1' does not name a type
153 | auto uart_component = static_cast<RD01 *>(rd01);
| ^ ~~~~~~
/config/9-d1-124.yaml:154:3: error: 'DistanceRange1' does not name a type
154 | uart_component->setDistancesAndStillSensitive(id(DistanceRange1).state, x, id(StillSensitive).state);
| ^ ~~~~~~
/config/9-d1-124.yaml:155:3: error: 'DistanceRange1' does not name a type
155 | - platform: template
| ^~~~~~~~~~~~~~
/config/9-d1-124.yaml:156:3: error: 'App' does not name a type
156 | name: "Still Sensitive"
| ^ ~
/config/9-d1-124.yaml:157:3: error: 'App' does not name a type
157 | id: StillSensitive
| ^ ~
/config/9-d1-124.yaml:158:3: error: 'DistanceRange1' does not name a type
158 | min_value: 0
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:159:3: error: 'DistanceRange1' does not name a type
159 | max_value: 65535
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:160:3: error: 'DistanceRange1' does not name a type
160 | step: 1
| ^ ~~~~~~~
/config/9-d1-124.yaml:161:3: error: 'DistanceRange1' does not name a type
161 | mode: box
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:162:3: error: 'DistanceRange1' does not name a type
162 | update_interval: never
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:163:3: error: 'DistanceRange1' does not name a type
163 | optimistic: true
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:164:3: error: 'DistanceRange1' does not name a type
164 | set_action:
| ^ ~~~~~~~~~~~
/config/9-d1-124.yaml:165:3: error: 'DistanceRange1' does not name a type
165 | - lambda: |-
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:166:3: error: 'DistanceRange1' does not name a type
166 | auto uart_component = static_cast<RD01 *>(rd01);
| ^ ~~~~~~
/config/9-d1-124.yaml:167:3: error: 'automation_4' does not name a type
167 | uart_component->setDistancesAndStillSensitive(id(DistanceRange1).state, id(DistanceRange2).state, x);
| ^ ~~~~
/config/9-d1-124.yaml:188:3: error: 'DistanceRange2' does not name a type
188 | on_press:
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:189:3: error: 'DistanceRange2' does not name a type
189 | - lambda: 'static_cast<RD01 *>(rd01)->queryParameters();'
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:190:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:191:3: error: 'App' does not name a type
/config/9-d1-124.yaml:192:3: error: 'App' does not name a type
/config/9-d1-124.yaml:193:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:194:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:195:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:196:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:197:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:198:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:199:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:200:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:201:3: error: 'DistanceRange2' does not name a type
/config/9-d1-124.yaml:202:3: error: 'automation_5' does not name a type
/config/9-d1-124.yaml:223:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:224:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:225:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:226:3: error: 'App' does not name a type
/config/9-d1-124.yaml:227:3: error: 'App' does not name a type
/config/9-d1-124.yaml:228:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:229:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:230:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:231:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:232:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:233:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:234:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:235:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:236:3: error: 'StillSensitive' does not name a type
/config/9-d1-124.yaml:237:3: error: 'automation_6' does not name a type
/config/9-d1-124.yaml:238:3: error: 'lambdaaction_6' does not name a type
/config/9-d1-124.yaml:168:4: error: expected unqualified-id before ')' token
168 |
| ^
/config/9-d1-124.yaml:169:3: error: 'automation_6' does not name a type
169 | button:
| ^~~~~
/config/9-d1-124.yaml:169:45: error: expected unqualified-id before ')' token
169 | button:
| ^
/config/9-d1-124.yaml:182:3: error: 'template__templatebutton' does not name a type
182 | - platform: template
| ^~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:183:3: error: 'App' does not name a type
183 | name: "Turn off config mode"
| ^ ~
/config/9-d1-124.yaml:184:3: error: 'template__templatebutton' does not name a type
184 | on_press:
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:185:3: error: 'template__templatebutton' does not name a type
185 | - lambda: 'static_cast<RD01 *>(rd01)->setConfigMode(false);'
| ^ ~~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:186:3: error: 'template__templatebutton' does not name a type
186 | - platform: template
| ^~~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:187:3: error: 'button_buttonpresstrigger' does not name a type
187 | name: "Get config"
| ^ ~~~~~~~~~~~~~~~~~~
/config/9-d1-124.yaml:188:3: error: 'automation_7' does not name a type
188 | on_press:
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:189:3: error: 'lambdaaction_7' does not name a type
189 | - lambda: 'static_cast<RD01 *>(rd01)->queryParameters();'
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:174:4: error: expected unqualified-id before ')' token
174 | - platform: template
| ^
/config/9-d1-124.yaml:175:3: error: 'automation_7' does not name a type
175 | name: "Turn off Engineer mode"
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:175:45: error: expected unqualified-id before ')' token
175 | name: "Turn off Engineer mode"
| ^
/config/9-d1-124.yaml:188:3: error: 'template__templatebutton_2' does not name a type
188 | on_press:
| ^ ~~~~~~~~~
/config/9-d1-124.yaml:189:3: error: 'App' does not name a type
189 | - lambda: 'static_cast<RD01 *>(rd01)->queryParameters();'
| ^
/config/9-d1-124.yaml:190:3: error: 'template__templatebutton_2' does not name a type
/config/9-d1-124.yaml:191:3: error: 'template__templatebutton_2' does not name a type
/config/9-d1-124.yaml:192:3: error: 'template__templatebutton_2' does not name a type
/config/9-d1-124.yaml:193:3: error: 'button_buttonpresstrigger_2' does not name a type
/config/9-d1-124.yaml:194:3: error: 'automation_8' does not name a type
/config/9-d1-124.yaml:195:3: error: 'lambdaaction_8' does not name a type
/config/9-d1-124.yaml:178:4: error: expected unqualified-id before ')' token
178 | - platform: template
| ^
/config/9-d1-124.yaml:179:3: error: 'automation_8' does not name a type
179 | name: "Turn on config mode"
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:179:45: error: expected unqualified-id before ')' token
179 | name: "Turn on config mode"
| ^
/config/9-d1-124.yaml:192:3: error: 'template__templatebutton_3' does not name a type
/config/9-d1-124.yaml:193:3: error: 'App' does not name a type
/config/9-d1-124.yaml:194:3: error: 'template__templatebutton_3' does not name a type
/config/9-d1-124.yaml:195:3: error: 'template__templatebutton_3' does not name a type
/config/9-d1-124.yaml:196:3: error: 'template__templatebutton_3' does not name a type
/config/9-d1-124.yaml:197:3: error: 'button_buttonpresstrigger_3' does not name a type
/config/9-d1-124.yaml:198:3: error: 'automation_9' does not name a type
/config/9-d1-124.yaml:199:3: error: 'lambdaaction_9' does not name a type
/config/9-d1-124.yaml:182:4: error: expected unqualified-id before ')' token
182 | - platform: template
| ^
/config/9-d1-124.yaml:183:3: error: 'automation_9' does not name a type
183 | name: "Turn off config mode"
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:183:45: error: expected unqualified-id before ')' token
183 | name: "Turn off config mode"
| ^
/config/9-d1-124.yaml:196:3: error: 'template__templatebutton_4' does not name a type
/config/9-d1-124.yaml:197:3: error: 'App' does not name a type
/config/9-d1-124.yaml:198:3: error: 'template__templatebutton_4' does not name a type
/config/9-d1-124.yaml:199:3: error: 'template__templatebutton_4' does not name a type
/config/9-d1-124.yaml:200:3: error: 'template__templatebutton_4' does not name a type
/config/9-d1-124.yaml:201:3: error: 'button_buttonpresstrigger_4' does not name a type
/config/9-d1-124.yaml:202:3: error: 'automation_10' does not name a type
/config/9-d1-124.yaml:203:3: error: 'lambdaaction_10' does not name a type
/config/9-d1-124.yaml:186:4: error: expected unqualified-id before ')' token
186 | - platform: template
| ^
/config/9-d1-124.yaml:187:3: error: 'automation_10' does not name a type
187 | name: "Get config"
| ^ ~~~~~~~~~~~
/config/9-d1-124.yaml:187:47: error: expected unqualified-id before ')' token
187 | name: "Get config"
| ^
/config/9-d1-124.yaml:200:3: error: 'template__templatebutton_5' does not name a type
/config/9-d1-124.yaml:201:3: error: 'App' does not name a type
/config/9-d1-124.yaml:202:3: error: 'template__templatebutton_5' does not name a type
/config/9-d1-124.yaml:203:3: error: 'template__templatebutton_5' does not name a type
/config/9-d1-124.yaml:204:3: error: 'template__templatebutton_5' does not name a type
/config/9-d1-124.yaml:205:3: error: 'button_buttonpresstrigger_5' does not name a type
/config/9-d1-124.yaml:206:3: error: 'automation_11' does not name a type
/config/9-d1-124.yaml:207:3: error: 'lambdaaction_11' does not name a type
/config/9-d1-124.yaml:190:4: error: expected unqualified-id before ')' token
/config/9-d1-124.yaml:191:3: error: 'automation_11' does not name a type
/config/9-d1-124.yaml:191:47: error: expected unqualified-id before ')' token
/config/9-d1-124.yaml:196:3: error: 'lambdaaction' does not name a type
/config/9-d1-124.yaml:106:4: error: expected unqualified-id before ')' token
106 | - platform: template
| ^
/config/9-d1-124.yaml:107:3: error: 'automation' does not name a type
107 | name: "Max Still Distance Range"
| ^ ~~~~~~~~
/config/9-d1-124.yaml:107:41: error: expected unqualified-id before ')' token
107 | name: "Max Still Distance Range"
| ^
/config/9-d1-124.yaml:108:3: error: 'lambdaaction_2' does not name a type
108 | id: maxStillDistanceRange
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:118:4: error: expected unqualified-id before ')' token
118 | - platform: template
| ^
/config/9-d1-124.yaml:119:3: error: 'automation_2' does not name a type
119 | name: "None Duration"
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:119:45: error: expected unqualified-id before ')' token
119 | name: "None Duration"
| ^
/config/9-d1-124.yaml:120:3: error: 'lambdaaction_4' does not name a type
120 | id: noneDuration
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:143:4: error: expected unqualified-id before ')' token
143 | - platform: template
| ^
/config/9-d1-124.yaml:144:3: error: 'automation_4' does not name a type
144 | name: "Max Still Distance Range"
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:144:45: error: expected unqualified-id before ')' token
144 | name: "Max Still Distance Range"
| ^
/config/9-d1-124.yaml:145:3: error: 'lambdaaction_5' does not name a type
145 | id: DistanceRange2
| ^ ~~~~~~~~~~~~
/config/9-d1-124.yaml:155:4: error: expected unqualified-id before ')' token
155 | - platform: template
| ^
/config/9-d1-124.yaml:156:3: error: 'automation_5' does not name a type
156 | name: "Still Sensitive"
| ^ ~~~~~~~~~~
/config/9-d1-124.yaml:156:45: error: expected unqualified-id before ')' token
156 | name: "Still Sensitive"
| ^
/config/9-d1-124.yaml:158:3: error: 'App' does not name a type
158 | min_value: 0
| ^ ~
/config/9-d1-124.yaml:159:1: error: expected declaration before '}' token
159 | max_value: 65535
| ^
*** [.pioenvs/9-d1-124/src/main.cpp.o] Error 1
========================= [FAILED] Took 39.73 seconds =========================

unknown value

hi,

i hv everything done as per your instructions but unknown value return in all fields

How to flash esphome code

Hi, I have a problem with flash esp, can you please share a more detailed procedure? Thank you very much :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.