Right now if the NPS is powered off when lvmnps starts, all the switches will be marked as out of reach (at least for DLI) and it's not possible to use the NPS after it's powered on without restarting the actor. The easiest is to add a refresh command to run the code in DLIPowerSwitch.start() to reassess what outlets are in reach.
Right now if the NPS is powered off when lvmnps starts, all the switches will be marked as out of reach (at least for DLI) and it's not possible to use the NPS after it's powered on without restarting the actor. The easiest is to add a
refreshcommand to run the code inDLIPowerSwitch.start()to reassess what outlets are in reach.