2 Temperature capability indicators

I created an app for my FlashForge Adventurer 5M printer. But i am struggling a bit with my temperature indicators.

I created 2 capabilities, measure_temperature.bed and measure_temperature.extruder. This works well and shows 2 temperature indicators within the device. However, the text on the capability itself just says “Temperature”. If you have 2 temperature sensors this doesn’t work, you wouldn’t know which is which.

Changing it to measure_temperature_bed and measure_temperature_extruder works, now i am able to change the text according to the indicator. BUT the icon’s are now a dashed square.

How would i solve this? I can’t seem to figure it out.

My codebase:

You can change the titles for sub-capabilities via the capabilityOption in the driver json file.

Awesome! That worked. I could not find it anywhere in the documentation, and chatgpt also didn’t know.
Thanks!