thegridelectric / gw-scada-spaceheat-python

GridWorks SCADA for space heating
MIT License
5 stars 2 forks source link

NodeConfig should use importlib to import drivers by name #169

Closed anschweitzer closed 1 year ago

anschweitzer commented 1 year ago

Currently it uses explicit import statements, which means the drivers themselves need 'DRIVER_IS_REAL' branching. We should just not load them when not running in an environment that supports them.

anschweitzer commented 1 year ago

Implemented: bc1a3c41502da584d42588ffd1b3cfdb63f93f81