We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/main.cpp: In lambda function: src/main.cpp:314:33: error: expected type-specifier before 'CustomP1UartComponent' auto dsmr_p1_sensor = new CustomP1UartComponent(uart_bus); ^ src/main.cpp:316:767: error: could not convert '{, , , , , , , , , , , , , , , , , , , , }' from '' to 'std::vectoresphome::sensor::Sensor*' return {dsmr_p1_sensor->s_energy_delivered_tariff1, dsmr_p1_sensor->s_energy_delivered_tariff2, dsmr_p1_sensor->s_energy_returned_tariff1, dsmr_p1_sensor->s_energy_returned_tariff2, dsmr_p1_sensor->s_power_delivered, dsmr_p1_sensor->s_power_returned, dsmr_p1_sensor->s_voltage_l1, dsmr_p1_sensor->s_voltage_l2, dsmr_p1_sensor->s_voltage_l3, dsmr_p1_sensor->s_current_l1, dsmr_p1_sensor->s_current_l2, dsmr_p1_sensor->s_current_l3, dsmr_p1_sensor->s_power_delivered_l1, dsmr_p1_sensor->s_power_delivered_l2, dsmr_p1_sensor->s_power_delivered_l3, dsmr_p1_sensor->s_power_returned_l1, dsmr_p1_sensor->s_power_returned_l2, dsmr_p1_sensor->s_power_returned_l3, dsmr_p1_sensor->s_gas_device_type, dsmr_p1_sensor->s_gas_valve_position, dsmr_p1_sensor->s_gas_delivered}; ^ src/main.cpp:317:3: warning: control reaches end of non-void function [-Wreturn-type] }); ^ *** [/data/p1_water/.pioenvs/p1_water/src/main.cpp.o] Error 1 ========================== [FAILED] Took 3.40 seconds ==========================
The text was updated successfully, but these errors were encountered:
Did you copy/use it one-on-one?
Sorry, something went wrong.
No branches or pull requests
src/main.cpp: In lambda function:
src/main.cpp:314:33: error: expected type-specifier before 'CustomP1UartComponent'
auto dsmr_p1_sensor = new CustomP1UartComponent(uart_bus);
^
src/main.cpp:316:767: error: could not convert '{, , , , , , , , , , , , , , , , , , , , }' from '' to 'std::vectoresphome::sensor::Sensor*'
return {dsmr_p1_sensor->s_energy_delivered_tariff1, dsmr_p1_sensor->s_energy_delivered_tariff2, dsmr_p1_sensor->s_energy_returned_tariff1, dsmr_p1_sensor->s_energy_returned_tariff2, dsmr_p1_sensor->s_power_delivered, dsmr_p1_sensor->s_power_returned, dsmr_p1_sensor->s_voltage_l1, dsmr_p1_sensor->s_voltage_l2, dsmr_p1_sensor->s_voltage_l3, dsmr_p1_sensor->s_current_l1, dsmr_p1_sensor->s_current_l2, dsmr_p1_sensor->s_current_l3, dsmr_p1_sensor->s_power_delivered_l1, dsmr_p1_sensor->s_power_delivered_l2, dsmr_p1_sensor->s_power_delivered_l3, dsmr_p1_sensor->s_power_returned_l1, dsmr_p1_sensor->s_power_returned_l2, dsmr_p1_sensor->s_power_returned_l3, dsmr_p1_sensor->s_gas_device_type, dsmr_p1_sensor->s_gas_valve_position, dsmr_p1_sensor->s_gas_delivered};
^
src/main.cpp:317:3: warning: control reaches end of non-void function [-Wreturn-type]
});
^
*** [/data/p1_water/.pioenvs/p1_water/src/main.cpp.o] Error 1
========================== [FAILED] Took 3.40 seconds ==========================
The text was updated successfully, but these errors were encountered: