How to use 'refreshCallbackMethod' in Devices.xml
Posted: Sun Jul 05, 2020 9:55 am
Trying to implement 'refreshCallbackMethod' for a custom device plugin. I read the post how to use : valuesDict['refreshCallbackMethod'] documenting how to use it, but it isn't working for me. I've implemented the callback method similar to the sample provided, which also writes a log entry so I know when it is called. However, I'm having trouble defining it in the config UI XML. I though it would look something like this:
- Code: Select all
<ConfigUI refreshCallbackMethod='refreshDeviceConfigUi'>
...
</ConfigUI>
- Code: Select all
<ConfigUI>
<refreshCallbackMethod>refreshDeviceConfigUi</refreshCallbackMethod>
...
</ConfigUI>