Skip to content

Set Parameter broken with new UI #43

@jtp10181

Description

@jtp10181

See here:
https://community.hubitat.com/t/driver-zooz-zen-switches-advanced-and-dimmers/58649/576?u=jtp10181

You can insert one line of code in that function which should fix it for now.

Anyway, add this line at the top of the function so it looks like this when done:

String setParameter(paramNum, value, size = null) {
	paramNum = safeToInt(paramNum)
	Map param = getParam(paramNum)

Problem is that it used to come across as an integer already but now it is coming in as a BigDecimal so I have to convert it so it works in the next function being called.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingfixed-betaPublished in beta release

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions