
I'm looking for a way to retrieve all supported levels (numeric!) for a specific switch,
so I can use the number in the switchSelector function. It is possible to get all level names
with:
local levels = dz.devices('Beacon').levelNames
But the switchSelector function only supports the numeric values and I did not find
a way to get a list of this numbers.
Does anyone have a solution for this?
Thank you!