I have pretty much completed a new plugin to support the VELUX ACTIVE Gateway for blind support. Up until now my device configuration work has been pretty simple in plugins, and this is is still pretty trivial. The logic is
- one refreshing list that pulls a home name / home ID from the API
- a second list that uses the home_id to pull a list of blinds
I currently have two methods working fine to populate the list but have hard coded the home_id in the version to date.
What is the correct approach to pass the selection from the first list to populate the list in the second ?
I appreciate this is probably blindingly obvious but after trawling the forums I am not getting it, I am sure the key is the ValuesDict. Any example will help.
Thanks,
Neil