eclipse-volttron / volttron-platform-driver

Apache License 2.0
0 stars 5 forks source link

Better handling of multiple remote configurations with incompatible settings. #38

Open davidraker opened 1 month ago

davidraker commented 1 month ago

Remote configurations may be provided with device configurations in the driver_configs dictionary. Since all fields of these configurations are not needed to make a uniquely addressable identifier, it is possible to have other settings which are different for the same unique remote. Currently, only the last of these added will be used.

Expected behavior Either separate remotes should be created if this is allowed by configuration or an exception should be raised to alert the user as to the conflict. In either case, a warning should be logged to alert the user.