Rename standard capabilities - Insights

Hello everyone,
I have the following code in my driver.compose.json:

“capabilities”: [
“measure_power”,
],
“capabilitiesOptions”: {
“measure_power”: {
“title”: {
“en”: “Battery Power”,
“de”: “Batterieleistung”,
“fr”: “Puissance batterie”
}
}
}

It’s fine in the device details, but in Insights, it still shows as “Power Usage”.
What am I doing wrong ?

Best regards,
Pascal

Have you already removed and re-added the device? That’s required for those changes to take effect

1 Like

Thank you for your advice. Yes, I already tried that. In the device the name appears as I defined it, but not in Insights. I did not find another info in the doc.

Maybe you also need to remove the Insights of that capability and let it recreate by the app.

1 Like

Thank you for your hint, but I already did that and even tried it again now. But the capability reappears instantly with the title “Power Usage”.

This kind of replies makes folks stop trying to help I’m afraid. It’s wasting time…
Maybe it’s an idea to add a “Things I tried so far” section to your post :wink:

You are right, and that was my mistake. It was never my intention to make anyone waste time, and I’m sorry if it came across that way.

My goal was simply to understand whether there is something wrong in my code, whether I am missing something important, or whether this could actually be a Homey issue that prevents custom titles from being applied to Insights.

I did try some basic steps beforehand, but I did not mention them because I honestly did not think they were relevant in this case. That was my fault, and I understand now that I should have included them.

I appreciate the help from the community and I have always tried to show that. I came here because I believed this was a place where developers help each other. Comments written in that tone do not help solve the issue and only discourage people from asking legitimate questions.

I accept that I should have been more precise, and I will do that next time. But the technical problem itself still remains unresolved.

No worries. I was just thinking along based on my own experience. I know how frustrating it can be if you cannot figure out a problem.

I am not sure what the standard/common name is that Homey uses for power consumption in Engish, but it might be that ‘Power Usage’ is just the default name Homey uses for that capabiity (as part as an effort to enforce standard terminology for common capabilities across apps).

1 Like

Maybe I spoke my mind too direct, Pascal, my hint was meant in a helpful way to “stimulate” folks to help. If you read it as judgement or criticism, my apologies.
I presume no one here is after wasting other peoples time.

I just could imagine folks skipping your post after reading “yes I tried that already” twice.
That was my trigger to write the “improvement” suggestion :smiling_face:

1 Like