Prepopulate setup defaults
Posted: Thursday 22 December 2022 18:51
Hi all,
Hopefully someone knows how, or can tell me this is currenrtly not doable.
I would like to set the defaults in the plugin configuration params.
For my stove, I can do a discover call on the network to get back the serial number and IP address.
These are 2 of the 3 params that need to be set in the configuration screen.
Is there a way to do the discover call first, and prepopulate the default values with those?
And if so how?
Regards,
Bert
Hopefully someone knows how, or can tell me this is currenrtly not doable.
I would like to set the defaults in the plugin configuration params.
For my stove, I can do a discover call on the network to get back the serial number and IP address.
These are 2 of the 3 params that need to be set in the configuration screen.
Is there a way to do the discover call first, and prepopulate the default values with those?
And if so how?
Regards,
Bert