add ip support for power switch