[DRIVER] Zooz ZEN Switches Advanced (and Dimmers)

I think this is due to a breaking change with the new UI...

You can insert one line of code in that function which should fix it for now. I really need to get some updates pushed out. My process is slow unfortunately.

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 (line 676).

2 Likes