Some plugin's devices not updating on device's page

Hello @amg0, There some some plugins (Legrand, Lutron, Weemo, etc) that create dimmer children devices. The device page dimmer tile can toggle the device just fine but the dimming slider does not update according to the level set, it simply stays at 0. I’m wondering where to look to correct this behavior?

Example:

Screen Shot 2020-04-10 at 10.59.03 PM Screen Shot 2020-04-10 at 10.58.56 PM

s seen on the screenshot. when using the toggle swith on the device’s tile. the device does turn on but the slider does not update , the only way to see the setLoadLevelTarget is by accesing the device’s detail.

Just needed to set LoadLevelTarget and not just LoadLevelStatus.

You should not be setting variables to change a devices state, you should use an action which will handle those variables correctly.

1 Like

I’ve modified the function inside the Implementation file to set the loadLevelTarget as well.

ill designed plugin will not work, indeed you need to work with target variables never status
and you need to use the UPNP action to change a level, nor setting the variable directly so plugin should implement the upnp action stub

1 Like