add command for get current device state in device table only