Closed StefanoMartin closed 1 year ago
If a value change from "rw" to "r", remove the Control state.
BEFORE:
this.chargeTimeFull = await device.createValue({ name: 'time_of_full_charge', permission: 'rw', template: Wappsto.ValueTemplate.NUMBER })
Expected 2 states, found 2 states
AFTER
this.chargeTimeFull = await device.createValue({ name: 'time_of_full_charge', permission: 'r', template: Wappsto.ValueTemplate.NUMBER })
Expected 1 state, found 2 states
If a value change from "rw" to "r", remove the Control state.
BEFORE:
Expected 2 states, found 2 states
AFTER
Expected 1 state, found 2 states