Hi,
I’m looking at energyMeter capability presentation
smartthings capabilities:presentation energyMeter -j
{
"dashboard": {
"states": [
{
"label": "{{energy.value}} {{energy.unit}}",
"alternatives": null
}
],
"actions": [],
"basicPlus": []
},
"detailView": [
{
"label": "{{i18n.label}}",
"displayType": "slider",
"slider": {
"range": [
0,
999.9
],
"step": null,
"unit": "energy.unit",
"value": "energy.value",
"valueType": "number"
},
"state": null
},
{
"label": "{{i18n.commands.resetEnergyMeter.label}}",
"displayType": "pushButton",
"pushButton": {
"command": "resetEnergyMeter"
},
"state": null
}
],
"automation": {
"conditions": [
{
"label": "{{i18n.label}}",
"displayType": "numberField",
"numberField": {
"value": "energy.value",
"valueType": "number",
"unit": "energy.unit"
}
}
],
"actions": [
{
"label": "{{i18n.label}}",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "resetEnergyMeter",
"value": "{{i18n.commands.resetEnergyMeter.label}}",
"type": "active"
}
]
}
}
]
},
"id": "energyMeter",
"version": 1
}
and there is a “pushButton” in the details view for reset.
However, I don’t see reset button in the app.
I do see the value, slider and a button to see history data, which probably comes from “i18n”.
What am I missing?
Is there any document, describing what exactly i18n means?
Thanks