- changed status to resolved
Change field title
Issue #48
resolved
Would be great to change field title with homeyscript.
Comments (1)
-
repo owner - Log in to comment
It's in test now:
Added an API call to set the name of AVD fields:
await dcApp.apiPost('setfieldname', {device:'Day-Amount', field:'number1', name:'Day-More'});
await dcApp.apiPost('setfieldname', {device:'Day-Amount', field:'measure_devicecapabilities_number-custom_1.number1', name:'Day-More'});
await dcApp.apiPost('setfieldname', {device:'c34dc5b4-3c30-48a9-8a4e-014aea93d00d', field:'measure_power', name:'Day-More'});