As a reminder, applications should now be using commands = client.commands() rather than importing commands directly.
This transitions commands over from a collection of simple methods to a class. In the future, that class will have access to the plant (via the client) and will therefore be able to tune behaviour to match the actual system it's connected to. For now, it still hardcodes Inverter.
There should be no changes required at point of use, if I've done it right. Unless applications had done something like
from commands import *
so that they were able to invoke a command with the commands. prefix - in that case, they will have to introduce a commands instance to the call.
As a reminder, applications should now be using commands = client.commands() rather than importing commands directly.
This transitions commands over from a collection of simple methods to a class. In the future, that class will have access to the plant (via the client) and will therefore be able to tune behaviour to match the actual system it's connected to. For now, it still hardcodes Inverter.
There should be no changes required at point of use, if I've done it right. Unless applications had done something like
from commands import *
so that they were able to invoke a command with thecommands.
prefix - in that case, they will have to introduce a commands instance to the call.