Configuring Shelly EM Energy Meter

Hi all, I’ve recently (today!) installed two Shelly EMs to give a total of three monitored circuits (three, single-phase circuits to be precise). I’m using the built-in integration and after adding them manually (the discovery does not work with authentication enabled), I can see two devices and a stack of sensors.

My problem is that I am unable to add these new devices as “grid consumption” under the energy tab in HA. There are no sensors shown, and just “no matching statistics” is given.

I believe that this should use the energy sensors from the Shellys, and under the developer tab, these are the attributes for the three energy sensors. All have data available:

state_class: total_increasing
unit_of_measurement: kWh
device_class: energy
friendly_name: House Energy

state_class: total_increasing
unit_of_measurement: kWh
device_class: energy
friendly_name: Car Charger Energy

state_class: total_increasing
unit_of_measurement: kWh
device_class: energy
friendly_name: Garage Energy

Any idea what’s going on here? If I look in statistics_meta, it looks like it’s not calculating statistics for these sensors even though I believe it should be based on the device_class, state_class and unit_of_measure:

id;statistic_id;source;unit_of_measurement;has_mean;has_sum;name
56;sensor.car_charger_power;recorder;W;1;0;\N
57;sensor.car_charger_voltage;recorder;V;1;0;\N
58;sensor.car_charger_power_factor;recorder;%;1;0;\N
59;sensor.garage_power;recorder;W;1;0;\N
60;sensor.garage_voltage;recorder;V;1;0;\N
61;sensor.garage_power_factor;recorder;%;1;0;\N
62;sensor.house_power;recorder;W;1;0;\N
63;sensor.house_voltage;recorder;V;1;0;\N
64;sensor.house_power_factor;recorder;%;1;0;\N

Any idea what’s going on here?