When I create a value I would like to be able to overwrite the default behaviour of a template.
With a real case:
chargeLimit = await device.createValue({
name: 'charge_limit',
permission: 'rw',
template: Wappsto.ValueTemplate.PERCENTAGE
})
However Tesla car default value smaller than 50 to 50. So, it would make more sense to have:
chargeLimit = await device.createValue({
name: 'charge_limit',
permission: 'rw',
min: 50,
template: Wappsto.ValueTemplate.PERCENTAGE
})
However the new minimum is not setup as expected.
When I create a value I would like to be able to overwrite the default behaviour of a template.
With a real case:
However Tesla car default value smaller than 50 to 50. So, it would make more sense to have:
However the new minimum is not setup as expected.