Change field title

Issue #48 resolved
Ola Strømman created an issue

Would be great to change field title with homeyscript.

Comments (1)

  1. arie repo owner

    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'});

  2. Log in to comment