I’m trying to get an enum capability to show the title of the value as a sensor value.
Sadly it only shows the ID value instead of the title.
Is there a way to display the title from the proper language of the enum value?
This is what I currently have to set the value
this.changeCapabilityValue('tarifcode', String(tariff));
Thanks so far