Check if you’re using the correct ESPHome YAML provided in the wiki or updated from the official Seeed GitHub repo:
You should have flashed a YAML like:
uart:
rx_pin: GPIOX
tx_pin: GPIOY
baud_rate: 115200
sensor:
- platform: custom
lambda: |-
auto my_sensor = new MR60BHA2();
App.register_component(my_sensor);
return {my_sensor->heart_rate_sensor, my_sensor->respiratory_rate_sensor};
sensors:
- name: "Heart Rate"
- name: "Respiratory Rate"